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
-
salroid3048y@daemonAD I can see that , but there are not that many by looking at the hits on ++ button.
-
salroid3048y@BlackMagic I can't edit it now , while you use Facebook how many programmers or developers do you make contact with on your fb post !!
-
I hit ++ purely for the Big Lebowski reference. I start my brackets on the next line. I feel like they line up more cleanly. Just my opinion though :D
-
feynman7808yI'm just leaning Java and put the { on a new line - mainly 'cause it helps me match up and keep an eye on the braces to make sure I've not missed one!
-
Well yes, since prototypes have no body. It's only at definition you use {.
(unless you mean a language I don't know)
</smug> -
save even more space! PUT EVERYTHING ON THE SAME LINE!
foo(){statement; statement; statement} -
fluffy431588ythe standards depend per language.
the last time i used php, it followed psr1/psr2 standards which puts the braces below.
but java standard is same line.
well, doesn't really matter much to me as long as use is consistent throughout the project. -
Knossos5278yMy colleague writes it on the next line. :(
He also does not use white space at all in his statements leading to solid masses of unreadable text. -
I got practically screamed at for this, I felt so bad until I realized that's all he was mad about and then im just like *facepalm*
-
SionX3468yI just do something what feels good. Every hour it can change. Is something like generating a random number. 😌
Related Rants
Hit + if you are on my side
undefined
programming