News for hackers. Stuff that matters.
Re:Ask HN: What did the really successful programmers do dif... by CalinBalauru on Thursday October 18, 2012 @04:25PM (#4670883)
Although 'never' is a very hard word, I found that in real live most code that uses early exists simply breaks SRP (come to think of it 99% of the time that is the case)

I know people will say "but I will only write this little return statement here" before you know it you will "add this little assignment before it returns" ...

Never might be strong but it make a very good point.

There are no comments on this comment yet.