I've done a lot of refactoring of huge projects. Your tip of having tests ready before you start is spot on. Best advice to anyone about to go through the process. Unit tests are the best way to validate what you're changing produces the same results. For me the time it takes to write the tests more than make up for the time saved refactoring simply because I can have confidence in my work as I go through the process.
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've done a lot of refactoring of huge projects. Your tip of having tests ready before you start is spot on. Best advice to anyone about to go through the process. Unit tests are the best way to validate what you're changing produces the same results. For me the time it takes to write the tests more than make up for the time saved refactoring simply because I can have confidence in my work as I go through the process.