home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.object
- Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!chx400!bernina!neptune!santas
- From: santas@inf.ethz.ch (Philip Santas)
- Subject: Re: Object-Oriented Methodologies - Class Specifications
- Message-ID: <1992Sep7.030502.15385@neptune.inf.ethz.ch>
- Sender: news@neptune.inf.ethz.ch (Mr News)
- Nntp-Posting-Host: spica.inf.ethz.ch
- Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH
- References: <715276480.1.p00058@mail.psi.net> <PFKEB.92Sep5213354@kaon.SLAC.Stanford.EDU> <1992Sep6.112634.9430@neptune.inf.ethz.ch>
- Date: Mon, 7 Sep 1992 03:05:02 GMT
- Lines: 30
-
-
-
- In article <1992Sep6.112634.9430@neptune.inf.ethz.ch> smissura@inf.ethz.ch (Stephan Albert Missura) writes:
- >
- >every set is also a class (at least in mathematics),
- >so a subset is also a subclass (but perhaps not in OO :-)
-
- I think you mean that every subset _can_ be seen as a subclass.
- There are cases in which I want to deal with just sets and subsets, but
- I do not want to add subclass relationships among them.
-
- On the other hand it is important to distinguish between subclasses and subsets.
- You can define subclasses by means of embeddings or injective coercions, but this
- means that you just define a mapping from elements of one class to another and
- not a subset relationship.
-
- 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
-
-
-
-
-