Chapter 6. Further Resources

Education never ends, Watson. It is a series of lessons with the greatest for the last.

Sherlock Holmes

Now that you’ve seen many flavors of mistakes, here are some ideas for further exploration, so that you can make more interesting mistakes in the future.

Philosophy

PEP-8

The definitive resource for the Python community’s standards of style. Not everyone likes it, but I enjoy how it enables a common language and smoother integration into teams of Python programmers.

The Zen of Python

The philosophy of what makes Python pythonic, distilled into a series of epigrams. Start up a Python shell and type import this. Print out the results, post them above your screen, and program yourself to dream about them.

The Naming of Ducks

Brandon Rhodes’ PyCon talk about naming things well.

The Little Book of Python Anti-Patterns

A recent compilation of Python anti-patterns and worst practices.

Getters/Setters/Fuxors

One of the inspirational posts that helped me better understand Python and properties.

Freedom Languages

An inspirational post about “freedom languages” like Python and “safety languages” like Java, and the mindsets they enable.

Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin (Prentice-Hall, 2008)
“Uncle Bob” Martin’s classic text on code smells and how to progressively refactor and improve your code for readability and maintainability. I disagree with the bits about comments and inline documentation, but ...

Get How to Make Mistakes in Python now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.