When to rewrite a code base from scratch

后端 未结 18 580
悲哀的现实
悲哀的现实 2020-12-12 10:35

I think back to Joel Spolsky\'s article about never rewriting code from scratch. To sum up his argument: The code doesn\'t get rusty, and while it may not look pretty afte

18条回答
  •  醉梦人生
    2020-12-12 11:06

    I have had such an application, and rewrite was very rewarding. However, you should try to aviod the "improvement" trap.

    When you rewrite everything, it is very tempting to add new features and fix some long-standing issues you didn't have the guts to touch. This can lead to feature creep and also extend the time needed for rewrite enormously.

    Make sure you decide what exactly will be changed and what will only be rewritten - in advance.

提交回复
热议问题