Thursday, July 26, 2007

Code Like a Pythonista: Idiomatic Python

Code Like a Pythonista: Idiomatic Python:

Good article in general. Also contains this gem:

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

—Brian W. Kernighan, co-author of The C Programming Language and the 'K' in 'AWK'