Which book is better for design patterns. GOF or Head First Design pattern. I read about 2 chapters from GOF. The book seems to be tough in terms of explaination. The book also does'nt give example about Java
GOF is not easy to read and follow, and I remember that Erich Gamma, admitted that you can't really learn patterns from book. Same story for all the chapters I have seen from SCEA books, Paul Allen's and Mark Cade's.
I am wondering why such a precious book is not discussed as it is worth: DESIGN PATTERNS FOR DUMMIES
I really recommend this book. I can't say anything bad about it.
Its a bible for design patterns. But I guess, it is best when one gets over with HFS. It becomes very easy to understand. If one has no idea about patterns, reading GOF is quite taxing. The problem with GOF with respect to java guys, is in its example, which are in c++, but nevertheless, GOF is an excellent book.
I would recommend GoF, which is accurate, authentic, undiluted, and above all respected and even consulted by SCEA 5 paper setters (I guess).
Like all other masterpieces, this should be read to learn things "first hand" (or, sorry to use the slang, "horse's mouth"), i.e. learning what a Mediator is from those which coined the term "Mediator".
HFDP is also good, albeit it does not cover all the 23 GoF (original) patterns. Also, too much description and allegory makes it a little difficult to understand, at least to me -- a paradoxical statement :-)