Hacker News new | ask | show | jobs
by x3haloed 997 days ago
Yeah, if I had my druthers, brace-less shorthand syntax like that would never be allowed. I never use it in my own code.

Beautify takes care of all questions about what an indent means. C-syntax devs never assume an indent has syntactic meaning. We use it has a helpful hint. We innately understand that it's the braces that matter, and it's really easy to Beautify a file if the original author was sloppy.

C-syntax devs read differently. We're not reading a book. We're reading code.

And we generally strongly prefer correctness. Braces avoid all unintended bugs related to where the instructions are located on the screen. Pretty is nice. Structure and correctness are better.