From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA22188; Wed, 20 Oct 2004 22:05:53 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA19363 for ; Wed, 20 Oct 2004 22:05:52 +0200 (MET DST) Received: from web53001.mail.yahoo.com (web53001.mail.yahoo.com [206.190.39.191]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id i9KK5puT023126 for ; Wed, 20 Oct 2004 22:05:51 +0200 Message-ID: <20041020200551.93182.qmail@web53001.mail.yahoo.com> Received: from [136.1.1.154] by web53001.mail.yahoo.com via HTTP; Wed, 20 Oct 2004 13:05:51 PDT Date: Wed, 20 Oct 2004 13:05:51 -0700 (PDT) From: Vasili Galchin Subject: Re: [Caml-list] OCaml and Design Patterns To: Richard Jones Cc: caml-list@inria.fr In-Reply-To: <20041020173001.GA12744@annexia.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-406009122-1098302751=:92727" X-Miltered: at concorde with ID 4176C51F.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 terrible:01 obstacle:01 vanier:01 2004:99 terrible:01 obstacle:01 vanier:01 ltd:98 ltd:98 ocaml:01 ocaml:01 0700,:01 0700,:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --0-406009122-1098302751=:92727 Content-Type: text/plain; charset=us-ascii 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! Vasya 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 > ATTACHMENT part 2 application/pgp-signature name=signature.asc __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-406009122-1098302751=:92727 Content-Type: text/html; charset=us-ascii


Richard Jones <rich@annexia.org> 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!

Vasya


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


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

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --0-406009122-1098302751=:92727-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners