Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: