On Sunday, 8 December 2013 at 05:37:09 UTC, H. S. Teoh wrote:
Or maybe this is just another one of those cultural old age
indicators?
Has the term "refactoring" shifted to mean "variable renaming"
among the
younger coders these days? Genuine question. I'm baffled that
these two
things could even remotely be considered similar things.
Refactoring is changing your code, without changing what it does.
It is done in order to make your code easier to understand, more
maintainable, more testable, or whatever.
Both extracting some code into a function and renaming a variable
are refactoring operations.