Having tests in place before the refactor helps a LOT for these situations, having them can also help with forcing you to write cleaner code in the first place.
You are viewing a single comment's thread from:
Having tests in place before the refactor helps a LOT for these situations, having them can also help with forcing you to write cleaner code in the first place.