How to restrain one's self from the overwhelming urge to rewrite everything?

后端 未结 20 750
遥遥无期
遥遥无期 2021-01-30 12:50

Setup

Have you ever had the experience of going into a piece of code to make a seemingly simple change and then realizing that you\'ve just stepped into a wasteland tha

20条回答
  •  无人共我
    2021-01-30 13:37

    Refactor only if your boss/company actually encourages it, otherwise you'll end up doing frequent extra time to bring up code to perfection... Until someone less dedicated touches it again.

提交回复
热议问题