Hacker News new | ask | show | jobs
by kazinator 3813 days ago
> If you lifted those braces out, you'd still know that the intent was

That's also true if the intent is ambiguous (the braces say one thing and the indentation something else).

Hey, remove the braces and the intent is clear now!

1 comments

Yes there are advantages to braced blocks. I sometimes miss them, but mostly not.