home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!chx400!bernina!neptune!santas
- From: santas@inf.ethz.ch (Philip Santas)
- Newsgroups: comp.object
- Subject: Re: O.M() versus M(O) notation
- Message-ID: <1992Aug18.225739.17455@neptune.inf.ethz.ch>
- Date: 18 Aug 92 22:57:39 GMT
- References: <PCG.92Aug16184526@aberdb.aber.ac.uk> <DOUG.92Aug16200024@monet.ad <PCG.92Aug18161744@aberdb.aber.ac.uk>
- Sender: news@neptune.inf.ethz.ch (Mr News)
- Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH
- Lines: 37
- Nntp-Posting-Host: spica.inf.ethz.ch
-
-
- In article <PCG.92Aug18161744@aberdb.aber.ac.uk> pcg@aber.ac.uk (Piercarlo Grandi) writes:
- >On 17 Aug 92 04:00:24 GMT, doug@monet.ads.com (Doug Morgan) said:
- >
- >doug> O An example? How about seeing how the new system would address a
- >doug> question that pops up on this group every month or two. The
- >doug> question is always how to organize the inheritance of a mutable
- >doug> square class instance with three slots and a mutable rectangle
- >doug> class instance with four slots.
-
- By making the former a subclass of the latter.
- If I remember correct, the problem was not actually if square should
- be a subclass of rectangle, but if this is possible in C++ :-)
-
- >doug> Now, how would this new system help clarify the notions of
- >doug> abstract types (rectangle and square),
- >
- >In no way at all! That's a problem for algebrists to solve. What is the
- >optimal conceptual orthogonal base for an algebra that encompasses both?
- >It's not a problem for the language designer. The task of the latter is
- >to provide clean, general notation to _describe_ such things.
-
- Why not to _construct_ such things? What is the advantage of having
- something _just_ described? (notice that by construction I do not
- mean necessarily implementation, but definition of structures).
-
- Philip Santas
-
- "In an evolving universe those who stand still are really moving backwards"
- --------------------------------------------------------------------------------
- email: santas@inf.ethz.ch Philip Santas
- Mail: Dept. Informatik Department of Computer Science
- ETH-Zentrum Swiss Federal Institute of Technology
- CH-8092 Zurich Zurich, Switzerland
- Switzerland
- Phone: +41-1-2547391
-
-