Re:Why do we fall into the rewrite trap?
by majormajor on Tuesday January 21, 2020 @03:06PM
(#22110934)
Yeah, if you don't have a detailed test suite, and can't build one, you probably don't fully understand your requirements, and your rewrite is in trouble already.
[ Parent
| on HN ]
Re:Why do we fall into the rewrite trap?
by AstralStorm on Wednesday January 22, 2020 @04:18AM
(#22115916)
Mind you, maintenance is in trouble too. Just a different kind of trouble.
If you have original code, you can always write a test suite based on it, unless management is averse to this. (Begging the question why they're not averse to a rewrite.) Like any test suite it is not going to be complete.
Ultimately it's best not to get piled on by rewriting really and often in small parts. (Carmack way.)