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
-
I had a professor in college that if he felt people weren't paying enough attention he would start drawing little pictures for the variable names (this was before emojis were a thing), so you'd have to look at all the white boards to see where the stick figure man was defined and why he was using the address of the duck.
-
Parzi88335ydoes anyone else use them as a descriptor?
file_output = open(...
fileBuffer = tempfile.SpooledTemporaryFile(...
loopnum = 32768
file-length = len(...
this is just natural for me at this point, do you all not do this? -
@Parzi basically. I tend to use very long names sometimes, to keep it very clear what it is.
-
emilio195yI prefer names proportional to their scope. Small scope, short names.
Larger scope, more descriptive names.
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...
short variables names, long variable names, nonsense variable names
rant
wk190