DEV Community


Discussion on: How do you refactor personal projects?

eranelbaz profile image

I do refactor my project,
most the refactor I do is when I need to add new features and I see the code that integrate with my new feature and I understand that my "now" knowledge is better than what I had so I do a little refactor,
What that helps my do all my refactor is thick layer of integration tests that tells me if I broke something

And I'm writing a new blog post about a half year refactor I did in one of my team products