Newsgroups: comp.object,comp.lang.c++,comp.lang.ada,comp.lang.clos
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!news.ultranet.com!news.sprintlink.net!howland.reston.ans.net!xlink.net!news.ppp.de!news.Hanse.DE!wavehh.hanse.de!cracauer
From: cracauer@wavehh.hanse.de (Martin Cracauer)
Subject: Re: C++ not OOP? (Was: Language Efficiency
Message-ID: <1995Jun7.144042.159@wavehh.hanse.de>
Organization: The Internet
References: <dewar.797512974@gnat> <MATT.95Jun1104021@godzilla.EECS.Berkeley.EDU> <3ql7oe$17a@uuneo.neosoft.com> <MATT.95Jun1143338@dogbert.lbl.gov> <3qld3l$3u5@Starbase.NeoSoft.COM> <19950602T072121Z@naggum.no> <3qtf1m$7qb@news.wwa.com> <walid.802464244@research.att.com> <D9srn0.62y@bton.ac.uk>
Date: Wed, 7 Jun 95 14:40:42 GMT
Lines: 33
Xref: glinda.oz.cs.cmu.edu comp.object:32372 comp.lang.c++:132268 comp.lang.ada:31001 comp.lang.clos:3170

je@bton.ac.uk (John English) writes:

>Walid Saba (walid@research.att.com) wrote:
>: Two fundemental principles of OO are not, and could not be
>: supported by C++ unless the language takes on an intensional
>: twist:

>: 1) you cant re-define the object's structure and/or behavior
>:    at run time (many applications would require this)

>: 2) you can not change your class heirarchy at run time.
>:    (many-many applications would require this!)

>Can you give any examples of applications where you would want to do this?
>I'm intrigued!

The garnet and amulet User interface systems use such features. Amoung
others, it is used to group graphical objects together and let all
objects of such a group have some common behaviour without explicit
iteration over the objects.

http://www.cs.cmu.edu/afs/cs/project/amulet/www/amulet-home.html
http://www.cs.cmu.edu/afs/cs.cmu.edu/project/garnet/garnet/FAQ

I'm sure you'll find more examples when browsing Self code.

    http://self.stanford.edu

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@wavehh.hanse.de>. No NeXTMail, please.
 Norderstedt/Hamburg, Germany. Fax +49 40 522 85 36. This is a 
 private address. At (netless) work programming in data analysis.
