3 ms·
Not "as precisely as possible" but "as precisely as necessary". For example, "i" is great name for a loop variable. It keeps it from distracting you and it sav
by joe_the_user 15y ago
Not "as precisely as possible" but "as precisely as necessary".
For example, "i" is great name for a loop variable. It keeps it from distracting you and it saves space so you can see more of the variables whose names matter.
- eru 15y agoYes. Though I like languages that help me to eliminate meaningless identifiers. Compare the number of identifiers in sum :: [Integer] -> Integer sum = foldr (+) 0 to int sum (int size, int* array) { int res; for (int i = 0, res = 0; i++; i<size) res += array[i]; return res; } (Those are not exactly the same function, but I hope you can see them as idiomatic expressions of the same idea.)