We should forget about small efficiencies — Donald Knuth
21 Aug
Effective Python Programming, from OSCON 2005.
Python’s growing popularity has brought many new developers to the language, often coming from other languages that have very different idioms and restrictions. This can lead to less-than-optimal coding styles.
This tutorial focuses on writing Python in a “Pythonic” way, working through a series of examples.
This is a concentrated exercise in helping people write code in a way that makes the best use of language features. It is of course possible to write bad Python–just as it’s possible to write bad code in any language. However, it is suprisingly easy to write good Python and hopefully this tutorial will help you bootstrap yourself into a better Python programmer.
This tutorial is aimed at people who already know Python, but don’t consider themselves experts. (Python experts will probably know most of the things discussed in this tutorial.)
You can download the presentation file (PDF) (159 slides) here.
Popularity: 16% [?]
Leave a reply