O'Reilly Open Source Convention - August 1-5, 2005 - Portland, Oregon
 Convention Coverage

Tutorial

Design Patterns, Idioms, and Other Python Wonders
Alex Martelli, Uber Technical Lead, Google, Inc.
Anna Martelli Ravenscroft

Track: Python
Date: Monday, August 1st, 2005
Time: 1:30pm - 5:00pm
Location: D135-136

Editing the 2nd Edition of the Python Cookbook was great, but of course we couldn't fit in the book much in-depth analysis and explanation. Here, Martelli and Ravenscroft pick some great stuff from the book, beef it up with thorough explanations of relevant language mechanisms, examples, and related materials, and explore in depth the design choices that Python offers.

Learn about Design Patterns and Object-Oriented idioms and mechanisms. Python is multi-paradigm, with OOP at its core. Understand the pros and cons of alternatives: When should you use closures, when callable instances? When to inherit, when to delegate? What classical Design Patterns are built-in, and which others to consider, and when?

Iterators and Generators underlie Python's new approach to looping--it's not your grandparents' loop any more! Learn how to encapsulate the logic of your control structures, making it reusable. Itertools can turn the "abstraction penalty" of some other languages into an abstraction _bonus_, making your code faster, more abstract, more general.

Descriptors and Metaclasses underpin Python's OOP: Python exposes them and lets you customize them for your own purposes. Add Decorators, the new syntax just introduced in Python 2.4, for a systematic application of a crucial use case for higher-order functions, and you'll see why our working title for that chapter was "Black Magic"... Learn important use cases for each of these advanced mechanisms.

Prerequisites: you need a solid grasp of Python fundamentals to start with. Course objectives: you'll walk out of this a Python wizard!



Diamond Sponsors

Computer Associates International Inc., (CA)
Hewlett Packard
SpikeSource
Sun Microsystems

Platinum Sponsors

Novell, Inc.

Gold Sponsors

ActiveState
IBM
Ticketmaster

Silver Sponsors

ActiveGrid
Alfresco
Black Duck Software
CollabNet
Covalent Technologies
Google
GroundWork Open Source Solutions
Intel Corporation
Mergere, Inc.
Microsoft
Oracle
Palamida
SourceLabs
SugarCRM
Yahoo! Inc.
Zend Technologies, Inc.

Media Sponsors

boing boing
C/C++ Users Journal
DevtownStation News
Digital ID World
Enterprise Open Source Journal
Free Software Magazine
InsideMac Radio
Integration Developer News
Linux Journal
LinuxQuestions.org
Open Enterprise Trends
Queue
SDForum
Software Association of Oregon
Version Tracker
Wi-Fi Technology Forum
Women's Technology Cluster
WorldWIT

In-Kind Sponsors

Dell Inc.
Gibson
Griffin Technology
Harman Multimedia
Smugmug

Sponsors

OSCON 2005 Sponsor Opportunities — Email us at

Download the OSCON 05 Sponsor/Exhibitor Prospectus

OSCON 2005 Media Sponsor Opportunities — Call Margi Levin at 707-827-7184 or email at

Press and Media

For media-related inquiries, contact Suzanne Axtell at

Conference News

Want to receive conference news? Sign up for our email newsletter.

O'Reilly Home | Privacy Policy

© 2005, O'Reilly Media, Inc.