Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] OCaml and Design Patterns
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] OCaml and Design Patterns
On Wed, Oct 20, 2004 at 10:13:01AM -0700, Vasili Galchin wrote:
> Hello,
>  
> I am working on a C++ project (hey I have to make money ... I
> personally hate the language) so I am using Design Patterns. In the
> standard GoF book (Gang of Four design pattern book), the authors say
> that some patterns already exist (builtin) in some languages. What
> design patterns do you think would be useful if I am using the OO
> features of OCaml (i.e. non-pure functional features)?

Just my personal opinion, but I've seen a lot of terrible code written
which uses "design patterns" ...  A lot of the patterns seem to exist
solely to bypass problems with OO languages.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
"One serious obstacle to the adoption of good programming languages is
the notion that everything has to be sacrificed for speed. In computer
languages as in life, speed kills." -- Mike Vanier