5 ms·
No, because error variables have extremely limited scope and the length of a variable name should be proportional to its scope.
by stirner 10y ago
No, because error variables have extremely limited scope and the length of a variable name should be proportional to its scope.
- kbart 10y agoHeh, I always use longer name variables for broader scope somewhat naturally, but only after reading your comment realized that.
- bryanrasmussen 10y agoI figure it's probably proportional to its importance and difficulty of understanding, as a longer more descriptive name aids in understanding, but things with broader scope tend to be more important.
- hyperpape 10y agoFrom which it follows that you should use the most terse names possible, in order to make it harder to write too-long functions. (I am only half trolling).
- deleted 10y ago[deleted]