News for hackers. Stuff that matters.
Re:Get to No as fast as possible by iamwil on Thursday June 17, 2010 @12:48PM (#1439487)
I much prefer this style too.

Every time you have to go into a nest, you have to maintain state in your head of what the condition is. So by the time you're nested 9 or 10 levels deep (I've seen this before), I can't remember what all the conditions are that got me there.

I remember reading the single-exit mantra was the result of hardware and speed optimization, rather than readability and maintainability optimization, but I could be remembering wrong.

There are no comments on this comment yet.