Re:Avoid Else, Return Early (2013)
by khedoros1 on Monday March 26, 2018 @04:12PM
(#16682093)
Good, clear code, with nice names and such shows what the code is doing and how it's doing it. It doesn't tell you anything about why it's being done, or the context of the function within the code.
You're lucky if you're dealing with code that's either small enough or simple enough not to need the added context...or if you only need to read your old code.
You're lucky if you're dealing with code that's either small enough or simple enough not to need the added context...or if you only need to read your old code.