Ask HN: Forget tabs vs. spaces, what about braces around single line statements?
No brace
if(x) doStuff(x);
Versus
if(x){ doStuff(x); }
One objective point in my favor is that you avoid issues with misleading indentation and a few cases that have caused CVE's. Not in my favor, the first is shorter. And people often believe code density is a virtue.
I never really thought about this a being a huge issue, until recently I had an interviewee express a strong preference for no braces, and I thought it was absurd to feel so strongly, and secondarily I thought they were wrong.
Anyone else have strong feelings either way that want to express themselves?