|
|
|
|
|
by andix
1081 days ago
|
|
Im a big advocate of rewriting code from scratch. Because on a rewrite you have a much better starting point. You have a (mostly) working solution, you understand the problem much better than on the first attempt, you have some tests and some data. Most of the time you don't rewrite it 100% from scratch, often you can copy a lot of code from the old solution. To utilize all those benefits you can't rewrite everything at once from scratch. You need to do it incrementally. |
|
On incremental improvements you should be able to stop what you are doing within a week or two and be ok with leaving the code like that for a long time.