Rewrite or repair?

后端 未结 11 1824
北荒
北荒 2021-01-02 01:01

I\'m sure you have all been there, you take on a project where there is a creaky old code base which is barely fit for purpose and you have to make the decision to either re

11条回答
  •  Happy的楠姐
    2021-01-02 01:22

    It is rare for a re-write of anything complex to succeed. It's tempting, but a low percentage strategy.

    Get legacy code under unit tests and refactor it, and/or completely replace small portions of it incrementally when opportune.

提交回复
热议问题