Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2004-10-20 (20:07)
From: Vasili Galchin <vasiliocaml@y...>
Subject: Re: [Caml-list] OCaml and Design Patterns

Richard Jones <> wrote:
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, in the case of C++ I would totally agrere with you!



Richard Jones.
Merjis Ltd. - 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

> ATTACHMENT part 2 application/pgp-signature name=signature.asc

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around