Python Descriptors

Posted on Jan 14, 2014 (14 weeks ago). Seen 335 times. No comments. Permalink Feed
Photo Evan Davis
Media Producer
NewCircle, Inc.
Member since Jan 14, 2013
Stream Posts: 101
Tagged as: Python SF Python Video

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.


Be the first one to post a comment!