DEV Community

Discussion on: Guides to Refactoring

Collapse
 
varjmes profile image
james

That makes sense! Refactoring can also come when the code is good, but you want to upgrade to more modern techniques. For example, converting from ES5 to ES6 JavaScript. Of course, you should't refactor if you don't have a good reason to!