caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: coreyoconnor@gmail.com
Cc: david.baelde@ens-lyon.org, caml-list@inria.fr
Subject: Re: [Caml-list] Heritage
Date: Fri, 16 Sep 2005 08:38:01 +1000	[thread overview]
Message-ID: <1126823881.14522.237.camel@rosella.wigram> (raw)
In-Reply-To: <c129123505091515152dda3409@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

On Thu, 2005-09-15 at 15:15 -0700, Corey O'Connor wrote:
> On 9/15/05, David Baelde <david.baelde@gmail.com> wrote:
> > I don't think the decorator pattern fullfills my needs, cause it does
> > not allow you to end up with one object having an added method from
> > one decorator and an other one from a different decorator. You can
> > compose decorators, but you'll only see the methods of the last one.

> class IBuffer
> {
> public:
> 	virtual void SomeMethod() = 0;
> }

WTF does the C++ community have the audacity .. or is it
just plain ignorance .. to rename what is nothing
more than a fold ..

.. except of course .. it is considerably *less* functionality,
since you can make a list of the functions
to fold over the object in many orders dynamically,
without needing any class crud, which names types
that don't exist.

-- 
John Skaller <skaller at users dot sourceforge dot net>


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-09-15 22:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 20:48 Heritage David Baelde
2005-09-15 21:25 ` [Caml-list] Heritage Corey O'Connor
2005-09-15 22:01   ` David Baelde
2005-09-15 22:15     ` Corey O'Connor
2005-09-15 22:38       ` skaller [this message]
2005-09-15 22:58         ` Corey O'Connor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1126823881.14522.237.camel@rosella.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=coreyoconnor@gmail.com \
    --cc=david.baelde@ens-lyon.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).