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
-
Here comes the rants on bracket placement... You made the mistake of putting the bracket on a different line my friend.
-
Readability! I prefer my open curly braces on new lines! It's so much cleaner I think! 😁
-
¿Por qué no las dos*?
*Inline brackets in JavaScript but newline brackets when writing C# -
askerr5619y@minimango I agree. I don't write C# but I use new line braces for C++ because of the verbose function declarations mostly. But exclusively do same line for JavaScript, especially now that arrow funcs are a thing
-
There's a bloody space before the first brace!
My OCD won't let it go!
Need. To. Edit. It.
While(devRanting)
{
productivity--;
}
undefined