English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-15 (22:58)
From: Corey O'Connor <coreyoconnor@g...>
Subject: Re: [Caml-list] Heritage
On 9/15/05, skaller <skaller@users.sourceforge.net> wrote:
> WTF does the C++ community have the audacity .. or is it
> just plain ignorance .. to rename what is nothing
> more than a fold ..

Well, for some it's ignorance. However, I don't audacity has anything
to do with it. Thinking of OO techniques to extend functionality at
runtime for methods of a type is easier to think about for most. 
Though, I think a decorator more closely matches a module functor*.
However, if somebody is asking for help with an OO question, I'll give
an OO answer. ;-)

-Corey O'Connor

* I say "module functor" because in the C++ world a "functor" stands
for "function object" and confusing the two would be, well, confusing.
Maybe just for me tho.