8 ms·
Strangely, golang adopted this practice of very short variable names. Surprising since golang is so focused on clarity and readability.
by kzhahou 10y ago
Strangely, golang adopted this practice of very short variable names. Surprising since golang is so focused on clarity and readability.
- raverbashing 10y agoExactly. The assumption that only long variables are readable is false
- msbarnett 10y agoNot surprising at all, if you're aware that Kernighan and Pike also wrote a book together (The Practice of Programming) in which they persuasively argued that brevity is an important component of clarity. Too much of "longer names are better" fetishism adds noise and detracts from overall clarity.