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
-
TobyAsE28117y3 for variables, 1 for method/function/class names, 5 for constants.
Have seen 7 too many times. Why does anybody think that's a good idea? Or do people who write such code even think at all? -
ikdekker9417yTimeSincereSeat 1 is just lame..
Depends on the language
Cpp
TimeSinceReseat.timeSinceReseat()
Python?
TimeSinceReseat.time_since_reseat()
What kind of variable conventions do you use?
timesincereseat
TimeSinceReseat
timeSinceReseat
TIMESINCERESEAT
TIME_SINCE_RESEAT
time_since_reseat
global{'tsr'} # so nobody can read it :)
question
naming conventions
variables