Hacker News new | ask | show | jobs
by bakuninsbart 480 days ago
Why? The keywords that indicate brace opening are right there, and adding a whole line with almost no information gain seems a bit unnecessary.
2 comments

Except that your opening brace is now *just wherever*. The information is "Here is the opening brace. Right where it's supposed to be."

Any of these styles can obviously work, but that one little detail brings a consistency that I personally appreciate. Your mileage may obviously differ.

I mean people keep going nuts for K&R and it does that for function declarations. It just looks neater to me to have a little bit of space before and after the code inside the block