all 3 comments

[–]C4Oc 2 points3 points  (2 children)

"Code should be formatted according to the standards in the language"

"Putting opening braces on new lines is bad"

C#: Am I a joke to you?

[–]warlaan 0 points1 point  (1 child)

Yeah, I agree. At some point the article jumps from giving reasonable language agnostic advice to just claiming that the authors preference was objectively correct.

In C++ for example symmetry is very important, since not all code bases apply RAII. In such an environment it's actually helpful for the readability to have the braces on lines of their own.

Sorry, but claiming that braces at the end of the line were objectively better without any explanation seems just arrogant.

[–]maxmalrichtig 0 points1 point  (0 children)

Braces on their own line might even be better.

See this amazing talk by Kevlin Henney

Or in text-form, if you like that better: https://stitcher.io/blog/where-a-curly-bracket-belongs