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
-
Yesterday I found something similar of that. If XML is asked then return json and if json is asked then return XML 😂😂😂
-
vhoyer13538y@runfrodorun @CorruptComputer you're both wrong, the right way is no brackets at all since it's only one line xD
-
fives10598y@runfrodorun
Tbh by having each bracket on its own line it can over extend your script tremendously and makes arduous for debugging. As long as final bracket matches indendation 👍 -
@runfrodorun C# is strong in you, but this is Java, and our God Oracle says that curly braces go on the same line ;)
Found this gem in our production code today
undefined