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

Rewriting little by little just means: each time you make a change, leave the source base at least a little better than you found it. Leave a few comments about the thing you reverse engineered. Delete a little dead code. Eventually you get the confidence to move from the lowest hanging fruit to deeper refactoring. You do it because that approach may be the best you can do with a rotten source base within your time and resource constraints,


Honestly, that sounds like making bad code even worse.


Apart from the fact they said making the code better each time?


LOL. Did you read the OP? Code is in PHP.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: