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
-
nitnip17366yIt'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.
-
Root770736y@Demolishun
Whitespace is racist! It's white! And white is inherently racist!
But blackspaces and brownspaces are progressive!
(Yellowspaces are okay too.)
/s -
Root770736y@StopWastingTime Welcome to modern politically-correct racism. I mean "anti-racism" 🙄 -
lxmcf195806y@pedrodev I will depending on the language, C# 100% follow recommendations else it is a pure mess
Related Rants
-
netikras13No, 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... -
zemaitis15Was forced to code like this: if(condition) { //code } Instead of this if(condition){ //code } Also I shou...

When people try to tell me that spaces are better than tabs and that PascalCase is better than snake_case :-3
rant
wk190