This might require technical jargon: what is a good term used for when somebody writes a piece of code, and somebody else comes along and restructures that code so that it takes less space, is more maintainable, and is better in all aspects?

closed as off-topic by MetaEd Aug 17 '18 at 22:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • 5
    Shame this was put on hold, but the answer is refactor – wrymug Aug 18 '18 at 2:41
  • Welcome to ELU, please add an example sentence and some of the research of your own. Did you try a dictionary or thesaurus? – JJJ Aug 18 '18 at 8:20
  • @rossih, you were right on the money, it's a shame it was put on hold. – shirish Aug 18 '18 at 10:54
  • @rosslh: Refactor is usually reserved for situations that try to generalize the solution. I wouldn't call activities that just cleans up the code and optimizes it to be refactoring. – jxh Aug 20 '18 at 18:57