Does anyone change the Visual Studio default bracing style in C# - Is there a standard?
- by El Ronnoco
I find the default bracing style a bit wasteful on line count eg...
function foo()
{
if (...)
{
...
}
else
{
...
}
}
would, if I was writing in JavaScript for example be written like...
function foo() {
if (...) {
...
} else {
...
}
}
...which I understand may also not be to peoples' tastes.
But the question(s) is/are do you turn off the VS formatting style and use your own rules? What is the opinion of this in the industry when many people are working on the same code-base? Is it better just to stick to the default just for simplicity/uniformity?