Brett Slatkin - Refactoring Python: Why and how to restructure your code
Speaker: Brett Slatkin As programs gain complexity, it becomes harder to add features and fix bugs. Reorganizing code is an effective way to make programs more manageable. This talk will show you Pythonic ways to do the most imporant ""refactorings"": Extract variables with __nonzero__; Change signatures with *args and **kwargs; Extract fields and classes with @property; Create stateful closures with __call__; and more! Slides can be found at: https://speakerdeck.com/pycon2016 and https://github.com/PyCon/2016-slides
May 28, 2016