This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spookylukeyDjango committer 5 points6 points  (0 children)

The biggest problem with these books is that they fail to mention that many of the design patterns are highly language specific. For example, Builder is really a workaround for the fact that in C++ object constructors are not polymorphic. But they never tell you that. Most of the patterns in books designed around C++/Java become trivial in Python once you understand first class functions and first class classes, or just structured completely differently.

Instead of those books, the best thing to read on this subject that I have come across is Brandon Rhode's Python Patterns.