Presentation on Sunday at 2:35 p.m. to 3:05 p.m. in Room 1130.
Working effectively with legacy code - Python Edition
Legacy code is that terrifying monster lurking in almost every long-lived codebase. You may not understand it, you may wonder how it works at all! It is the type of code most developers do their best to stay away from, and for good reason. So what is there to do when you inherit such a system for the first time? How can you take it from unknown mess to gleaming example of excellent engineering? What is unique about legacy systems written in Python?
This talk will present a series of tools, both technical and social, for rehabilitating unknown, untested, and maybe even unloved systems. Approaches to improving these systems will primarily focus on refactoring and testing, with sidebars on engineering culture and personal motivation. We will reference Michael Feathers's excellent book on the topic, but also depart significantly to discuss particular challenges and opportunities presented by the Python language. After all, much of the written literature on this topic assumes a fairly Java-centric view of the world, and offers little support when you realize that object you thought was a dict is actually an ORM model that just happens to support getattr lookup.
The intended audience is someone relatively new to professional programming, who is encountering their first legacy codebase. This talk will be a crash course in how to handle your unknown adversary.
Scott Triglia is the Tech Lead for Yelp's Transaction Platform team, which enables users to transact with Yelp's extensive set of businesses through many third party providers. He helped architect Yelp's nearby recommendation engine and was the chief maintainer of business and search geocoding. Previously, Scott received a Masters in Computer Science from UC Irvine.