The document describes the Mikado Method for incrementally refactoring large codebases. It involves recursively fixing pre-requisites to changes by reverting broken code, documenting the dependency graph, and ensuring each change delivers a working version. This method allows refactoring to proceed gradually while maintaining a deployable main branch, improving communication, and keeping developers focused on necessary changes.
17. Refactoring using the Mikado Method
is like pruning ornamental trees…
• You can work in an incremental process.
• You can always change the shape.
• You always see what you get.