Re:Why was "goto fail;" added without any other change to th...
by bakhy on Friday February 28, 2014 @11:40AM
(#7319808)
All three of those patterns are something which would lead me to consider is there a more functional-style option available to rewrite the method in question. I'll take a gigantic nested if over a split-end method (multiple exit points) any day of the week ;) But of course, such things cannot be avoided completely, nor will avoiding them magically eliminate all bugs in the universe..
[ Parent
| on HN ]