|
|
|
|
|
by dang
2850 days ago
|
|
You can't evaluate readability without knowing the conventions that a system is working with. (That means knowing something about the people as well, btw.) In this system, 'rks' communicates something that 'ranks' does not: that this is a local variable denoting a collection, and that it is a collection of the things that 'rk' denotes one of. So actually it adds quite a bit to readability. If I were going to edit that code to make it more readable, the one change I'd consider is using 'r' (or maybe 'n', because these are integers) instead of 'rk'. One can argue either way whether the k adds information or just noise. |
|