GoF in Java?

K

Ken

Can someone recommend a good book that implements the GoF design patterns in Java?

Thanks!

Ken
 
K

Karl Hungus

My 2 cents but every other book besides GoF is just a waste of time. Go to
the source, you should be able to make sense of the c++ examples if you know
java.
 
J

Jim

My 2 cents but every other book besides GoF is just a waste of time. Go to
the source, you should be able to make sense of the c++ examples if you know
java.

The book is nice, but the HTML version is very worth having. Very easy
to navigate around in (which you would expect), but is not really
structured in a book fashion. Worth the money.

Jim
 
R

Roedy Green

My 2 cents but every other book besides GoF is just a waste of time. Go to
the source, you should be able to make sense of the c++ examples if you know
java.

On the other hand it is written in deep academese. It is not a book
for newbies.

It is a love-hate book. It is so full of useful information, but the
authors went to extreme lengths to make you work hard to extract it.

They seemed far more concerned with impressing than illuminating.
 
L

Liz

Roedy Green said:
On the other hand it is written in deep academese. It is not a book
for newbies.

It is a love-hate book. It is so full of useful information, but the
authors went to extreme lengths to make you work hard to extract it.

They seemed far more concerned with impressing than illuminating.

Na, they put their pants on one leg at a time.......;-)
 
I

iamfractal

Liz said:
Na, they put their pants on one leg at a time.......;-)

Fave, inexcusably-nerdy question: what's the worst line in the book?

My stumper, which I know that I will never comprehend:

From the Interpreter pattern:

"If a particular king of problem occurs often enough, then it might be
worthwhile to express instances of the problem as sentences in a
simple language."

!!!!

I really must buy a new bulb for the bathroom. Hang on! Maybe if I
express the darkness of the bathroom - and my desire for bathroom
light - as a sentence in a simple language!

www.EdmundKirwan.com

Ooo, I feel dirty now that I've slagged off the great book ...
 
T

Thomas Weidenfeller

Fave, inexcusably-nerdy question: what's the worst line in the book?

My stumper, which I know that I will never comprehend:

From the Interpreter pattern:

"If a particular king of problem occurs often enough, then it might be
worthwhile to express instances of the problem as sentences in a
simple language."

I am not even a native speaker, but that one is pretty clear to me:

If you have to deal with the same class of problems a lot of times then
it might be a good idea

- to sit down and design a problem-specific language, where

- the language consists of simple sentences,

- allowing you to express the problem on a higher level.

Then use the Interpreter pattern to build an interpreter for that language.

In fact, the whole sentence is trivial advice. This has been done since
the stone age of computers.

/Thomas
 
M

Mike Schilling

From the Interpreter pattern:

"If a particular king of problem occurs often enough, then it might be
worthwhile to express instances of the problem as sentences in a
simple language."

Beats me, unless "king" is a typo for "kind", in which case it means "Build
tools that will be useful frequently."
 
J

Jim

I have the html version of the book so just for the record, its "kind"
Beats me, unless "king" is a typo for "kind", in which case it means "Build
tools that will be useful frequently."


Just read the next paragraph (in the book), that's exactly what
they mean.

Jim
 
I

iamfractal

Jim said:
I have the html version of the book so just for the record, its "kind"



Just read the next paragraph (in the book), that's exactly what
they mean.

Jim


Do forgive the typo, it is of course, "Kind."

And now I know I'll never be a programmer: I just don't think like this.

(Sniff.)

..ed

www.EdmundKirwan.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top