News for hackers. Stuff that matters.
Re:Avoid Else, Return Early (2013) by kstenerud on Monday March 26, 2018 @09:53AM (#16678855)
I've done a number of informal tests on friends and family over the years regarding brace placement, and it's always been the same: For someone with NO experience programming (i.e. looking at what to them seems like a bunch of gobbletygoop - and what's a "text editor"?), adjacent braces make it appear more readable than same-line braces.

It's only people who cut their teeth on adjacent bracing that find it more readable.

Re:Avoid Else, Return Early (2013) by falcolas on Monday March 26, 2018 @10:18AM (#16679058)
Why optimize for the lowest common denominator?

I've seen both, and the reduction in vertical whitespace matters more to me than the readability to an untrained individual.

Re:Avoid Else, Return Early (2013) by hailk on Monday March 26, 2018 @11:03AM (#16679412)
I'll be flipping the point around by saying that if you are concerned about vertical whitespace reduction, you should probably look at the granularity of your files (debatable based on programming environment). Also we could be catering to the lowest common denominator by worrying about people with untrained symmetric sensibility.
Re:Avoid Else, Return Early (2013) by RobertRoberts on Monday March 26, 2018 @10:54AM (#16679328)
>Why optimize for the lowest common denominator?

You seem to be erroneously equating a coincidence with a preference.

Re:Avoid Else, Return Early (2013) by z3t4 on Monday March 26, 2018 @04:33PM (#16682312)
Tip: Tilt your wide screen so you get more vertical real estate.
Re:Avoid Else, Return Early (2013) by ainiriand on Monday March 26, 2018 @10:59AM (#16679376)
'I've done a number of informal tests on friends and family'

You should have a pretty cool family!