Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
each to their own, for ne it makes my code easier to read back over using the first example, although i see why you like it the other way i still prefer to do it my way.
-
J-T331199yI will set my code up that way when im trying to find an error. Makes it easier to find that way.
-
@Dev-3 No, Visual Studio does that by default, but it's configurable. I have my settings tweaked to be the compact version of braces... which is a pain when others keep auto formatting my code!!
-
I used to HATE opening braces on the same line. I even had pet names for them. Then I grew out of my teens.
Nowadays I do my best to conform with language / framework / corporate style guides.
Related Rants
It really pisses me off when people write
if (true)
{
// Something
}
instead of
if (true) {
// Something
}
undefined
indentation