This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes GOF Vs HFS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "GOF Vs HFS" Watch "GOF Vs HFS" New topic
Author

GOF Vs HFS

Nikhil Jain
Ranch Hand

Joined: May 15, 2005
Posts: 385
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


SCJP 1.4, SCWCD 1.4, SCBCD 1.5
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

Head First design patterns is really cool and easy to learn!


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Nikhil Jain
Ranch Hand

Joined: May 15, 2005
Posts: 385
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

Joined: Feb 24, 2006
Posts: 6661
    
    5

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


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

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

Joined: Aug 26, 2006
Posts: 4968
    
    1

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

Joined: May 15, 2005
Posts: 385
Thanks. I think I'll go with the HFS book.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
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.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Farbod H Foomany
Ranch Hand

Joined: Feb 29, 2008
Posts: 63
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

Joined: Jul 05, 2005
Posts: 1936
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

Joined: May 15, 2005
Posts: 385
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

Joined: Jun 30, 2008
Posts: 123
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,


Pranab Das, PMP, SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GOF Vs HFS
 
Similar Threads
Pattern Books
Some of the most influential books
Passed Part I
Why should I use design patterns ?
Classification of Design Patterns