What's the best approach to large-scale code #refactoring that you know? Start somewhere, commit frequently, and hope for the best? Is there something better than that?
What's the best approach to large-scale code #refactoring that you know? Start somewhere, commit frequently, and hope for the best? Is there something better than that? 7 comments
@schizanon I'm looking for higher-level approaches than syntax-level. Like moving from one framework to another, or from/to a relational db to/from some other kind of db. Or splitting a monolith into microservices or such.
[DATA EXPUNGED]
|
@J12t *test frequently, commit when you're done. If it's a particularly big job I'd consider codemods. https://github.com/facebook/jscodeshift