News for hackers. Stuff that matters.
Re:Avoid Else, Return Early (2013) by GVIrish on Monday March 26, 2018 @02:59PM (#16681484)
Shorter code may or may not make things more readable. If brevity was the key to readability, we'd all be minifying all code we write to make it more readable.

Readability is about clarity of intent and function, as well as sensible structure. Sometimes that means writing slightly more code with more expressive naming so that the code is easier to follow. Sometimes that means using a given language's shortcuts to condense things down.

There are no comments on this comment yet.