Putting it on it's own line seems like a waste of space to me and doesn't contribute to the readability.
Putting it on it's own line seems like a waste of space to me and doesn't contribute to the readability.
accidentally, we arrived to the same code style for both C# and C++...
The only downside would be if I worked on someone else’s project with different standards. I don’t think VS can figure out autoformat at the project level, like, say, python mode in emacs.
That said, some languages are impacted by style choice; e.g. JavaScript. Given many of us have to develop in multiple languages, it would be great to select a style supported by all languages (better would be if all languages supported all styles).
https://stackoverflow.com/questions/12233999/is-it-true-that...
Considering the large number of coding standards that mandate the placement on a new line, tossing out readability because it doesn't matter to you seems short sighted.
Don't understand why we spend so much time arguing about such low stakes stuff as this.
By the way, after many years I had to change it for coding style reasons. Now when I look back to old code and I see that lonely `{` my reaction is "ewww", so I guess it is also a matter of habit.