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
-
TobiSGD2816yIf you are a Go programmer there is only one type of persons.
@p32929: This behavior is entirely configurable. -
@p32929 It uses language-specific defaults. Eg. for Java it will format to #1, for PHP #2.
-
@non-bin There's a place in hell (if such thing exists) for the kind of people that do this.
Btw, welcome to devRant! -
Maer17826yUsed to be:
x() {
...
}
Am now (and won't go back):
x()
{
...
}
By the way, ? is not semantically the same as if.
:) -
@toriyaki Symmetry doesn't guarantee readability. I prefer #1 because I mostly look at indentation, curly brackets are a noise for me.
-
-
EddieBro1216yLearned from second one, chose the first one cause i prefer one line when editor hides the content.
Like first:
if (true) {}
second:
if (true)
{}
Related Rants
I am the first type of person..
joke/meme
programming