Re:Avoid Else, Return Early (2013)
by moomin on Monday March 26, 2018 @04:52PM
(#16682485)
In general terms, in C-like languages, mixing braces and semi-colons is horribly refactor unfriendly and bug prone. Meanwhile, sticking things on one line introduces a cognitive load that you might not want. (YMMV on the second point, but I’ve pretty strong views on the first.)
[ Parent
| on HN ]
There are no comments on this comment yet.