News for hackers. Stuff that matters.
Re:Avoid Else, Return Early (2013) by kamaal on Monday March 26, 2018 @12:00PM (#16679846)
That's the bad part of not having braces.

If boundaries exist they need to be clear. One shouldn't have to count the tabs that make up the level of indentation.

Its already a challenge reading code. Counting invisible tabs makes it even worse.

Re:Avoid Else, Return Early (2013) by lisper on Monday March 26, 2018 @12:16PM (#16679973)
Well, you don't have to literally count them, you use the spatial reasoning hardware built in to your retina and visual cortex to just see that this bit of code is further over to the right than that bit of code. But of course that only works for pieces of code that are small enough to fit in your field of view.
Re:Avoid Else, Return Early (2013) by p1esk on Monday March 26, 2018 @03:07PM (#16681550)
All code pieces should be small enough to fit in your field of view :)
Re:Avoid Else, Return Early (2013) by lisper on Monday March 26, 2018 @03:16PM (#16681619)
Try to tell that to my current client :-(
Re:Avoid Else, Return Early (2013) by dorgo on Monday March 26, 2018 @01:56PM (#16680959)
On the other hand high counts of invisible tabs may be a hint that the code needs refactoring..