I find this "segments" technique one of the most difficult things to do as a developer. Especially if it involves database or infrastructure but I love it as well :)
On of the best thing to do when it comes to refactoring a legacy product, is to add an abstraction layer in front of it and push the calls forwards (when it's an API).
If it's a full stack application it's much harder! It also depends on the language. A powerful IDE is your friend in most scenarios
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I tend to approach it in segments, sneakily refactoring little pieces at a time until my frustrations disappear.
Alternatively, spend free time working on a better stack as an outlet will also help
I find this "segments" technique one of the most difficult things to do as a developer. Especially if it involves database or infrastructure but I love it as well :)
On of the best thing to do when it comes to refactoring a legacy product, is to add an abstraction layer in front of it and push the calls forwards (when it's an API).
If it's a full stack application it's much harder! It also depends on the language. A powerful IDE is your friend in most scenarios