• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Patterns Introduction

 
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was wondering if anyone could suggest a good intro book into patterns or data structures. I think I should study them before I embark on any interviews. I'd welcome any suggestions.
Thanks,
Sean
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Craig Larmans, Applying UML and Patterns. The GoF book is the best for just patterns, but It only covers design patterns and it's fairly complex without an intro book. I'd recommend every programmer in this industry read Larman's book as an intro to OOAD.
------------------
David Roberts - SCJP2,MCP
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply. I was looking for a book that covers singleton's and factories etc.. Does this book include that?
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sean,
A couple of design pattern books that talk about singleton's and factories are:
Patterns in Java by Mark Grand
Design Patterns by Eric Gamma et la. aka GoF book.
Below is my reply to a similar question posted in the intermediate forum that you may find helpful.
http://www.javaranch.com/ubb/Forum1/HTML/001349.html
When reading a design pattern book, the thing to keep in mind is that you are learning about design, and you want to know the pros and cons about each of the patterns, and when a particular pattern might be best suited to solve your problem.
I have read both the books by Mark Grand and Eric Gamma et la. The Eric Gamma did a better better job in explaining the pros and cons to me. If you have to buy just one design pattern book, I would get the book by Eric Gamma et la. Also go to amazon and read the reviews of what other people have said about these two books.
Note that the GoF book has sample code in smalltalk and c++, but that should not discourage you from buying that book if you only know java since it does a better job in explaining the concepts. If you want to see sample code in java, there are lots of resources on the internet, or pick up the Mark Grand book for the java code.
This site has class diagram and example java code (good if reading GoF book and want some java examples) http://www.eli.sdsu.edu/courses/spring98/cs635/notes/index.html
"The Design Patterns Java Companion" by James Cooper: http://www.patterndepot.com/put/8/JavaPatterns.htm
PDF book, and also java sample code
Bruce Eckel of Thinking in Java fame is also working on a Thinking in Patterns book. I haven't read his books, but there is a work in progress copy of the book at his website. http://www.mindview.net/Books/TIPatterns/
Eddy
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eddy,
Thanks for all your help. I'm going to give the GoF book a try.
- Sean
 
reply
    Bookmark Topic Watch Topic
  • New Topic