Go for Head First Design Patterns or GOF Design Pattern book?
Joined: Jul 17, 2008
I have gone thru the Head First Design Pattern book, it is really nice book. All examples make sense to me. And i can remember them(i rem them based upon the examples given in the book). Now the question arises, if i go thru GOF Design Pattern book, i will be reading most of the same repeated design patterns. This book will have its own examples. So the question arises, does this book covers more number of design patterns than HFDP book? if yes, is it worth reading the whole book? See my thoughts are based upon the customer reviews on amazon book. More people like the HFDP book than the GOF book. I know already the format of content mentioned in the GOF book. It is natural many people do like GOF book.
I'm a big fan of the Head First books, and HFDP book is a great way to learn how the key patterns are used in practice. The GoF book is more formal in style, and presents a number of additional patterns that are only briefly mentioned in the appendix to the HFDP book. The GoF book presents each pattern broken down into the following sections: Intent, Motivation, Applicability, Structure, Participants, Collaborations, Consequences, Implementation, Sample Code, Known Uses and Related Patterns. For practical purposes, the Head First book will probably give you most of what you need most of the time, but the GoF book will give you some more depth/breadth on the background to the original design patterns and maybe give you some more alternatives when the familiar patterns are not sufficient.
Joined: Jul 17, 2008
Chris your thoughts are helpful. It reminds me the talks mentioned in HFDP, to go for GOF book. I agree, the GOF book materializes the whole content. So for the preparation of SCEA-1, I must read it once. I will go ahead to buy this book today. And this GOF book must be on the Architect's shelve.
Joined: Jan 20, 2003
May be you want to try Design Patterns Java Workbook, by Steven John Metsker (Addison-Wesley). I am reading this and I have had a good understanding so far on basics of each design pattern. Let me know your thoughts.