Practical Refactoring Workshop – Tiny Steps to Better Code
2-Day Lab, Austin, Texas, USA
May 3-4, 2018
With Llewellyn Falco and Woody Zuill
Eventbrite registration: https://www.eventbrite.com/e/2-day-practical-refactoring-lab-austin-tickets-40431719361
The goal: “Clean Code That Works” (Ron Jeffries) , and getting there is half the fun. Working with a legacy mess can be frustrating, boring, dangerous, and time-consuming. When FIBS occur (FIBs = Fixes that Introduce Bugs) you often enter an endless Test and Fix cycle that can quickly escalate into a nightmare. I’ve been there, you’ve been there. How do we return to pleasant dreams?
In this code-centric workshop we’ll look at ways to introduce sanity and calmness into the process of maintaining and improving buggy, poorly written, poorly designed code. Few slides, mostly code. We’ve been fighting the good fight for a long time and we are going to show you how to turn any project around and have fun doing it. It is our opinion that we can fix and enhance any code.
We’ll be working on an example project, and learn the steps of making changes to code in tiny steps. We’ll explore ways to introduce tests to legacy code, and find ways to clean up the most common problems of duplication, clutter, complexity, and cleverness, as well as identifying and removing duplication.
Our approach will have us using Solo, Pair, and Mob Programming to do exercises and work with others as we experiment with many simple techniques that combine together to make a big impact on the quality and cleanliness of our code.
Learning Goals
The basic goal is to learn enough about refactoring in baby steps so you can begin doing this immediately. We’ll be covering a number of basic refactoring techniques that provide a wide range of easy to implement improvements, and learn how to identify some common code “smells” (symptoms of potential problems)
Instruction Approach
- Hands-on Exercises
- Interactive Dialogues
- Simulations, Videos
Agenda
Day 1 – Cleaning the code
8:30-9:00 – We’ll alternate between instructional demonstrations and hands-on coding exercises.
9:00-10:30 – Basic theory of our approach to working with legacy code
10:30-10:45 – Break
10:45-12:00 – Instruction and hands-on exercises
12:00-12:45 – Lunch
12:45-2:30 – Instruction and hands-on exercises
2:30-2:45 – Break
2:45-4:15 – Instruction and hands-on exercises
4:15-4:30 – Retrospective
4:30-5:00 – Questions, wrap-up of the day
Day 2 – Discovering the emerging architecture
8:30-9:00 – We’ll alternate between instructional demonstrations and hands-on coding exercises.
9:00-10:30 – Continue with theory of our approach to working with legacy code
10:30-10:45 – Break
10:45-12:00 – Instruction and hands-on exercises
12:00-12:45 – Lunch
12:45-2:30 – Instruction and hands-on exercises
2:30-2:45 – Break
2:45-4:15 – Instruction and hands-on exercises
4:15-4:30 – Retrospective
4:30-5:00 – Questions, wrap-up of the day
We’d love to see you there!!
Eventbrite registration: https://www.eventbrite.com/e/2-day-practical-refactoring-lab-austin-tickets-40431719361