If your old code has problems, delete it and rewrite everything
A long-lived code base is like a society.
It’s a living thing. Sometimes well kept, often not. People will come and go. Those who went all had good intentions …until reality caught up!
Sometimes you will come across an area that doesn’t work well. You’ll dive in to find out…