Actions Panel
PyCon PL 2014 - Workshop. Writing Maintainable Code
When and where
Date and time
Location
Description
Speaker: Peter Inglesby
Language: English
Writing code is easy, but writing well-factored code - that is: code that is structured to be understandable, maintainable, and usable - is hard. This workshop will explore what it means for code to be well-factored, and what it takes to write well-factored code. Participants will learn through a series of exercises, where they will practise refactoring poorly-factored code. We'll focus on identifying and exposing structure that we can use to make our code more understandable, more maintainable, and more usable. In particular, we'll look at: - repetitious code that obscures how different parts of a program interact with each other - underlying data structures that could be exposed to clarify how information flows through a program - hidden invariants that could be used to verify that a program remains in a valid and consistent state