I received the book yesterday and I started to read it on the way home... and I couldn't stop, took it to the gym and I expect people must have seen me smile a lot while I was exercising and reading. This is tres "cool". It is fun but they cover a lot of ground and in particular they are right to the point.

— Erich Gamma, IBM Distinguished Engineer, and coauthor of "Design Patterns: Elements of Reusable Object-Oriented Software"

I feel like a thousand pounds of books have just been lifted off my head.

— Ward Cunningham, inventor of the Wiki and founder of the Hillside Group

New! Form Your Own Design Pattern Study Group, an article about forming study groups for design patterns using Head First Design Patterns, is now available on OnJava.com.

New! Head First Design Patterns won the Product Excellence Jolt Award in the General Book Category for 2005.

New! You can now download the code examples in C# here. This code is generously made available by Head First Design Patterns reader Mark McFadden.

Learn about the patterns that matter—why to use them, when to use them, how to use them (and when NOT to use them).

With Head First Design Patterns, you'll avoid the embarrassment of thinking Decorator is something from the "Trading Spaces" show. Best of all, in a way that won't put you to sleep!

Head First Design Patterns is here! You can order it NOW (30% off!) at amazon.com. See more book details at O'Reilly.

Please check for errata at O'Reilly's Head First Design Patterns web page.

Downloads

» Download the Java code here (jar file). The source files are all in the src/headfirst directory.
» Download README.txt. This has all the command line run commands for each application, as well as helpful comments.
» Download the heatindex.txt file containing the heat index formula for the Weather Station in chapter 2.
» Download the test.txt file for chapter 3
» If you are using ant to compile the java files, you can download the build.xml file.
» Download the MVC song here.
» Download the code examples in C# here (hosted and supported by Mark McFadden).