Contribute Media
A thank you to everyone who makes this possible: Read More

Pushing the Bounds with Descriptors

Description

The problem with most online tutorials is that they lack depth, often involving trivially simple examples. In the case of descriptors, the issue is compounded by the complexity of interface exposed by the protocol itself. Here, simplified examples are chosen so that other issues can be discussed such as the avoidance or management of global state. This deprives the audience of a deep exploration of the rich dynamics descriptors lend to the object oriented nature of Python.

In this talk, we'll go beyond basic @property templates. Building along a central theme, a solution will evolve to handle more demanding needs. As the approach changes, we'll discuss encapsulating behavior, immutable and partially persistent data structures, and then delve into the interplay between multi-level, dependent object hierarchies.

The goal of all this? To expand the realm of possibilities in your own pattern library and enrich the tool set you bring with you to new problems.

Details

Improve this page