Re:Avoid Else, Return Early (2013)
by kruczek on Monday March 26, 2018 @10:57AM
(#16679356)
> Same way you evolve out of one liners.
> Same way braces go on the end of the method/class name to reduce LOC.
For me, these are exact opposites; the reason to not use one-liners is the same as the reason to put braces in separate line: both improve readability.
> Same way braces go on the end of the method/class name to reduce LOC.
For me, these are exact opposites; the reason to not use one-liners is the same as the reason to put braces in separate line: both improve readability.