Refactoring Legacy Code with the Mikado Method

 
Tutorial Day - 24. Mai
 
9:00
 
Tutorial
 
Schwarzwald (1. OG)

You know that area of the code nobody wants to touch? It's been sitting there forever, just doing it's thing. It is a functioning shanty town of code. And you know, as everyone on the team knows, that there is no such thing as a simple change to this code. Because the "solution" is coupled in the strangest ways, code seemingly separate from the module you're working on breaks when you make the most mundane of changes.

But today, you picked up a user story that, try as you might, you cannot figure out a way to implement without either digging into the internals of the shanty town or bolting another hovel onto the side. You can't keep adding onto this mess. You're going to have to roll up your sleeves and fix it. But how? One change breaks 2 other things, which when modified each break 2 more. You're destined for a path of exponential brokenness that will take weeks to fix and when it's all done, you have to make one huge commit.

Ugh.

Enter the Mikado Method.

The Mikado Method is a relatively simple means of approaching these exact problems. By probing the code, we learn where changes need to take place. We then start at the outer edges and work our way in. We can commit small changes that don't break the system and iterate our way towards a solution. It might still take two weeks to implement this simple change, but we've derisked the entire process.

In this hands-on workshop, you will work with others to refactor messy legacy systems using the Mikado method. Along the way, you'll explore common refactoring patterns and other techniques for dealing with legacy code systems.

ca. 7 Stunden

Folien: 

Doc Norton

CTO2

Doc is passionate about working with teams to improve delivery and building great organizations. Once a dedicated code slinger, Doc has turned his energy toward helping teams, departments, and companies work better together in the pursuit of better software. Working with a wide range of companies such as Groupon, Nationwide Insurance, and Belly, Doc has applied tenants of agile, lean, systems thinking, and servant leadership to develop highly effective cultures and drastically improve their ability to deliver valuable software and products.

16:00