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
-
nitnip18145yIt's all about consistency really. If your workplace uses one style, you should use it too. Personally, I prefer snake_case for variables, PascalCase for classes (or the equivalent in non OOP languages), camelCase for functions or methods and CAPS_SNAKE_CASE for constants.
-
Spaces and tabs are racist, they are whitespace. Because if you start the name of something with white you are racist, any other color and you are diverse.
-
Root797785y@Demolishun
Whitespace is racist! It's white! And white is inherently racist!
But blackspaces and brownspaces are progressive!
(Yellowspaces are okay too.)
/s -
Root797785y@StopWastingTime Welcome to modern politically-correct racism. I mean "anti-racism" 🙄
-
lxmcf199505y@pedrodev I will depending on the language, C# 100% follow recommendations else it is a pure mess
Related Rants
-
AlgoRythm25Dude chaining in JavaScript is so fucking ugly but so trendy. thing.doStuff().doThing().then().doMoreStuff()....
-
netikras14No, listen to me. I cannot approve this PR because your code does not comply with our code style. All the impo...
-
Coffe2Code7Let's comment out this block of code so later we know we have this feature and bring it back if we need it. L...
When people try to tell me that spaces are better than tabs and that PascalCase is better than snake_case :-3
rant
wk190