3 ms·
The only point to rewriting is to extend the project. You can't always predict if new features will be wanted. So unless you want to have to wait on a rewrite
by fauldsh 15y ago
The only point to rewriting is to extend the project.
You can't always predict if new features will be wanted.
So unless you want to have to wait on a rewrite for each new feature you will need a rewrite.
Rewriting all your code because you might need to extend it is a bigger waste of your time than spending that 20% longer to make all your code extendible.
If you don't want to rewrite for the new feature then you contribute to the spaghetti.
Due to your bad code it'll take increasingly long to add features and you will eventually spend longer implementing the whole system (with extra features) than implementing a nice version first.