4 ms·
I like the rule-of-thumb that short identifiers are fine if their context is limited in length - particularly if proper lexical scoping is supported. Humans do
by stevedonovan 10y ago
I like the rule-of-thumb that short identifiers are fine if their context is limited in length - particularly if proper lexical scoping is supported. Humans do context very well, and imposing some arbitrary length limit ignores this.
- edblarney 10y agoThis is important. When you're inside a function, dealing with very limited scoped variables, people get that. People also 'get' attributes of classes and can grasp that context. You know what's rational - that the 'length' of an array is just called 'length' :) Anything else would be missing the point.