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
-
Phlisg25247y@slyckies hop schwitz! Aber i bi neud von schwiizertütsch-land (Oder Wie du dass sagst - und mins tütsch isch neud guet och)
-
Root825997y@user261 That was my point 😋
But you should add parentheses for clarity, especially when nesting. -
Me:
if(cond) {
...
} else {
...
}
My programming teacher:
if ( cond )
{ ...
}
else
{ ...
}
Use what you want, but PLEASE don't write on the same line of the curly brace!
Related Rants
}
else {
}
VS.
} else {
}
question
my boss wants me to use nr. 2
else