Re:Avoid Else, Return Early (2013)
by Apatheticdino on Monday March 26, 2018 @11:30PM
(#16684969)
I'd like to believe that this is a result of the concept of functions being first taught in the context of mathematics. Since there's no concept of flow control in mathematical functions, their entire purpose boils down to "Given parameters, do processing, return value".
[ Parent
| on HN ]
There are no comments on this comment yet.