Live Stream Recording: Testing and Refactoring Legacy Code
Those who couldn’t join us for our show can catch up by watching the recording on our YouTube channel.
Sandro Mancuso’s first startup project was the canvas for our testing and refactoring practices during the IntelliJ IDEA December Live Stream.
Sandro took us on a nostalgic tour through the 20-year-old codebase. Years ago, Sandro implemented his first startup idea, a social network for travelers, and spent a full year on development. After a long break, Sandro decided to dive back into the project to refresh his memory and show us how to work with legacy code.
We learned the general rules of refactoring and testing, and Sandro showed us many essential tips, like which debugging methodology to choose, how to navigate the code’s landscape, and how to implement the SEAM technique.
The goal was to achieve 100% test coverage and then refactor it – and we did it all in under 90 minutes!
He also shared his insights on being more productive and building self-confidence while working with code.
Thanks to our guest, the live stream served as a very practical workshop. If you are eager to learn more, check out Sandro’s katas on GitHub. During the session, Sandro mentioned the book Working Effectively with Legacy Code by Michael Feathers. If you don’t have it on your bookshelf, you should give it a try!
Keep testing and refactoring, and we’ll see you at the live stream next month!
Your presenter and host