Refactoring Python for Better Code: Insights from PyCon 2016 with Brett Slatkin 🐍

Discover why and how to restructure your Python code to improve maintainability and ease of adding features. Insights from Brett Slatkin's PyCon 2016 talk.

Refactoring Python for Better Code: Insights from PyCon 2016 with Brett Slatkin 🐍
PyCon 2016
65.0K views • Jun 9, 2016
Refactoring Python for Better Code: Insights from PyCon 2016 with Brett Slatkin 🐍

About this video

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

Video Information

Views

65.0K

Likes

991

Duration

30:24

Published

Jun 9, 2016

User Reviews

4.6
(12)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.