2 ms·
Before arguing this question again, we should have an understanding of what information a programmer needs to know about a function in an unfamiliar code base.
by mannykannot 10y ago
Before arguing this question again, we should have an understanding of what information a programmer needs to know about a function in an unfamiliar code base. Depending on circumstances, that may include issues like whether it modifies its arguments, preconditions/assumptions and post-conditions, failure modes and error handling, corner cases, resource use, thread safety, time and memory complexity, the architectural conventions that the function needs to observe and imposes on other parts of the code, and why this and not something else. I cannot see the proposition that you can write optimally readable code simply through the choice of identifiers as being anything but based on a misunderstanding of just how much information there is in code.