Chapter 2. Hello, Mikado Method!

This chapter covers

  • Two tiny Mikado Method examples
  • Baby steps and safe refactorings
  • How to soften a hard dependency

You probably picked up this book because you’re in a tricky situation. Maybe you’re facing a mess, a legacy system, or a big ball of mud. No matter what you call it, it’s time to put the Mikado Method to the test and see what it can do for your code. After you’ve finished this chapter, you’ll have a basic idea about how to improve code without breaking your system while doing so.

As a first example, we’ve chosen a small system so you won’t have to wade through pages of code while learning the method. Our goal is to keep the amount of code to a minimum throughout this book so you can focus ...

Get The Mikado Method 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.