4 ms·
> ... pay more attention to names that are too similar than to short names. Ah this is exactly why people dislike the short names. If you ever have more than
by sublinear 4y ago
> ... pay more attention to names that are too similar than to short names.
Ah this is exactly why people dislike the short names.
If you ever have more than a few of them and they aren't even real words, common abbreviations, or hijack well known unreserved names I would immediately reject that during code review.
I think most people are fine with plain English 1 to 3 word names concatenated in whatever style of the language or other conventions.
i.e. "result" instead of "r", "re", or "res"
Why? Because "r" is familiar as a read permission, "re" is familiar as a regular expression, and "res" is familiar as a response object.
This is the bad kind of familiarity that drives people up a wall and wastes a ton of time.
- moloch-hai 4y agoKeep control of syllables. Each counts against your cognitive limit of "seven plus or minus two" items that fit in registers.