Oh, I don't care what anyone recommends. They're declaring their personal preferences without justification, just like 99% of all "coding standards" documents.

Since the vast majority of code is pretty much illegible I'm not interested in anyone's preferences, not when they get their jollies out of writing code nobody else can read.

Beginning of line curlies are better because the opening and closing curlies are vertically aligned. I can match braces without wiggling my mouse or positioning the cursor and hitting a hotkey to highlight the opening brace, which could be off the screen. Keeping it onscreen encourages another ugly practice, "tucking under" the parameters. I regard vertical alignment as the most important part of making code legible, without which no "beautifier" is worth using.

But developers feel about writing legible code like pre-Lister surgeons felt about washing their hands between surgeries. Legibility is effete, clutter and cram are the standard/

Hungarian notation is still useful in C/C++ but I abandoned C++ after 20 years when it added throw, which I can get away with not using in C#.

One office I was moved to at Microsoft had been Simonyi's until the day before.

American Software Developer living in Vietnam. Classical musician (guitar, woodwinds), weightlifter, multilingual, misanthrope • XY

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store