Re:Avoid Else, Return Early (2013)
by princekolt on Monday March 26, 2018 @09:59AM
(#16678906)
I agree. This is especially good when you have long method names and the method declaration might need more than one line. Having the opening brace on a new line clearly separates where the function/method declaration ends and the body begins.
[ Parent
| on HN ]
There are no comments on this comment yet.