News for hackers. Stuff that matters.
Re:Avoid Else, Return Early (2013) by robot01 on Tuesday March 27, 2018 @01:10PM (#16690597)
Maybe it's just me, but I find the first version easier to parse visually. When the coding convention forces me to put the brace on the same line, I end up doing:

    if (user.exists()) {

        destroyHuman(user);
        hideRemains(user);
    }

There are no comments on this comment yet.