The Python Datamodel: When and how to write objects

04:00 PM - 04:25 PM on August 16, 2015, Room 705

Aaron Hall

Audience level:
intermediate
Watch:
http://youtu.be/iGfggZqXmB0

Description

We've been told to stop writing objects. We've been told to write more objects.

In this talk, we cover the Python datamodel, when to begin writing objects, what methods to start with that leverage the Python data model, and how to use the "magic" methods of Python. This talk assumes you know a few of the basic builtin data structures of Python (dicts) and have at least passing familiarity with operators (+, -, * , /, in, etc...)

Which should we be doing? When? How?

Abstract

In this talk, we cover the Python datamodel, when to begin writing objects, what methods to start with that leverage the Python data model, and how to use the "magic" methods of Python. This talk assumes you know a few of the basic builtin data structures of Python (dicts) and have at least passing familiarity with operators (+, -, * , /, in, etc...)