Re:Ask HN: Inherited the worst code and tech team I have eve...
by carso on Sunday September 18, 2022 @01:57AM
(#32884805)
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,
[ Parent
| on HN ]
Re:Ask HN: Inherited the worst code and tech team I have eve...
by intrasight on Sunday September 18, 2022 @03:34PM
(#32890708)
Honestly, that sounds like making bad code even worse.
Re:Ask HN: Inherited the worst code and tech team I have eve...
by majikandy on Sunday September 18, 2022 @06:42PM
(#32892177)
Apart from the fact they said making the code better each time?
Re:Ask HN: Inherited the worst code and tech team I have eve...
by intrasight on Sunday September 18, 2022 @11:18PM
(#32893913)
LOL. Did you read the OP? Code is in PHP.