Python Descriptors

An alternative title for this talk, says Simeon Franklin, could have been “What are descriptors and why do I care?” Descriptors give us a powerful interface to write reusable code that can be shared between classes, the descriptor protocol underlies cool and well-loved features of Python such as the @property decorator, but not many people seem to write descriptors directory. Are they too verbose, too difficult, or just not useful?

Simeon, Technical Instructor at Twitter, believes that descriptors are an underutilized feature. In this talk from SF Python, he helps us understand how they work, how to write your own, and when to use them.

Follow along with Simeon's slides.

To continuing diving into Python, browse our stream of free Python resources, or check out our list of upcoming Python trainings.

Copyright © 2018 ProTech. All Rights Reserved.

Sign In Create Account

Navigation

Social Media