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
-
Left, like a sane human being.
There's also a "middle" that put an empty newline after the same line curly ... but those people should be shot -
jnordy2068y@altermind ah sorry I'm pretty new here so I must have missed it - dont pitchfork me completely!
-
dan-pud8588yUsed to be left, now I'm right. Took a while to get used to and still sometimes put a blank line where brace was
-
fyroc58608yMe and everyone I've ever met used right... the only time I've seen someone actually use left are the same people who put underscores in their variable and table names.
-
var-i7908yIf you use left one to return an object inside a function in JavaScript it will return null. So always use the right one.
-
Feadoor278yI adapt to different coding standards depending on the language or the setting (e.g. To conform to work guidelines). It's no big deal. Why the elitism?
-
drndavi548yIf i have to choose, then right. Otherwise I will adapt to whatever, but always curse a little in my head the person who dictates the style 😁
-
addlinny7388yDepends on the language I use! If it's c/c++ or c# for example I'll be left but if it's java then I'll use right. Same with naming standards, I conform with the language or the existing code!
-
Yeah6916288yLeft, because readability matters and my monitor can show a lot more than three lines of code.
-
Cukes-17368yBeing taught C++ in a school, our syntax was graded. So I never had a exposure to the right method. But oh boy, once I switched, I never wanted to go back.
Related Rants
Help me settle a debate at the office: I'm right.
undefined
debate
programming