On Thu, Jun 30, 2011 at 2:34 AM, Florian Over
<florian.o...@googlemail.com> wrote:
> I also recommend to read the last chapter of the book "Thinking in Clojure".

Do you mean Joy of Clojure?

Here's what Fogus and Chouser say:

"Most if not all of the patterns listed in the book are applicable to
functional programming languages in general, and to Clojure in
particular."

I agree with them on that :)

They do however go on to say this:

"But at its most pragmatic, the patterns described are aimed at
patching deficiencies in popular object-oriented programming
languages. This practical view of design patterns isn’t directly
relevant to Clojure, because in many ways the patterns are
ever-present and are first-class citizens of the language itself. We
won’t provide a comprehensive survey of the ways that Clojure
implements or eliminates popular design patterns but will provide
enough to make our point."

Then they present nine design patterns and how they apply to Clojure,
showing that whilst the design pattern itself applies, the
implementation is often trivial - which is to be expected of a
language with greater expressive power.

So perhaps our only disagreement in this thread comes from the fact
that the sample _implementations_ shown in the GoF book are irrelevant
in Clojure whereas the patterns are often just normal ways of doing
stuff in Clojure?
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to