Re:Anti-If: The missing patterns (2016)
by sbmassey on Wednesday June 27, 2018 @03:57PM
(#17411293)
Personally, it is better to have functions small enough that they fit on a handful of lines, and the if-else structure makes it obvious that you are doing one or another thing, rather than having separate if structures at the top of the function that may-or-may-not exit before you reach the main body of the function.
[ Parent
| on HN ]
There are no comments on this comment yet.