3 ms·
I agree that variables names should be short, but not "as short as possible". They should be as short as possible while remaining unambiguous and avoiding loadi
by chimprich 6y ago
I agree that variables names should be short, but not "as short as possible". They should be as short as possible while remaining unambiguous and avoiding loading short-term memory.
"allOutstandingOrders" does not look to me like a long variable name.
> Make your code as terse and dense as possible
I really hope I never get to work with any code you've written.
> Make your variable names abbrevations or acronyms, like instead of 'convertInt', call it 'ci'
I'm starting to think this comment is satire now.
If I have to read the comments on a function or variable to figure out what it does then my productivity is going to be absolutely kneecapped if I'm a newcomer to your project.