Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GOF Vs HFS

 
Nikhil Jain
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Head First design patterns is really cool and easy to learn!
 
Nikhil Jain
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah I know. But I am not sure how it would be in terms of SCEA. The problem with GOF is that, the example are i guess in terms c++.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go for the head first design patterns book. Its easy to learn and you can implement it in java easily as well, since the examples are themselves in java
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nikhil Jain:
Yeah I know. But I am not sure how it would be in terms of SCEA. The problem with GOF is that, the example are i guess in terms c++.


But the SCEA exam tests you with sample code from Java and not from C++ which obviously is a reason for you to choose HF Design Patterns.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SCEA really just requires a high level knowledge of the patterns. I think either book will suffice. If Head First makes it easier, you should feel comfortable using it.

I do think anyone should have a copy of the GOF book around, regadless, if just for reference.

-Cameron McKenzie
 
Nikhil Jain
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I think I'll go with the HFS book.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMO, GOF is much better.

If you don't have much time, HFDF is fine. Actually, design patterns questions in SCEA are not very difficult, the exam ask about high level concept.
 
Farbod H Foomany
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Regards
Farbod
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GOF Design patterns is not easy, but I think it's worth the trouble, it's very detailed.

I strongly recommend it.
 
Nikhil Jain
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
P Das
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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 :-)

Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic