Not sure. I'd argue that "refactoring" (also by its name) is less about eliminating duplication but rather about restructuring in general. Sure, in many (most?) cases you introduce new abstractions into code that was written before those abstractions could be clearly identified. But in my understanding it is just as much about replacing or (rarely) removing abstractions. When I see a commit that says "refactored X" I certainly don't assume there is only code deduplication in it.
MauranKilom|4 years ago