An Overview of the Mikado Method
The complete process follows an initially daunting nine-step cycle. Once you’ve worked your way through the cycle a few times, however, it won’t be far from second nature. You’ll ingrain it even faster than the TDD cycle.
-
Draw the Mikado Goal, an end state you want to reach.
-
Implement the goal in a naive manner.
-
Find any errors.
-
Derive immediate solutions to the errors.
-
Draw the immediate solutions as new prerequisites.
-
Revert code to its initial state if there were errors.
-
Repeat steps 2 through 6 for each immediate solution.
-
Check in code if there were no errors; mark the prerequisite goal complete.
-
Is the Mikado Goal met? If so, you are done!
Most of the days or weeks you end up spending on a large refactoring ...
Get Modern C++ Programming with Test-Driven Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.