home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!decwrl!csus.edu!netcom.com!objsys
- From: objsys@netcom.com (Bob Hathaway)
- Newsgroups: comp.object
- Subject: Re: Object-Oriented Methodologies - Class Specifications
- Message-ID: <#0ln+2c.objsys@netcom.com>
- Date: 4 Sep 92 01:31:34 GMT
- References: <715276480.1.p00058@mail.psi.net> <1992Sep2.135247.11696@bcrka451.bnr.ca> <1992Sep3.033015.31493@m.cs.uiuc.edu>
- Organization: Object Systems
- Lines: 22
-
- In article <1992Sep3.033015.31493@m.cs.uiuc.edu> johnson@m.cs.uiuc.edu (Ralph Johnson) writes:
- >> ... [On object knowledge of geometry functions] ...
- >Several people have mentioned that CLOS generic functions are the correct
- >solution to this problem, and they are right.
-
- Packaged functions work Ok but they seem identical to an OO manager approach.
- A geometry package with all of the geometry functions could be declared or
- a geometry object with all of the geometry functions as member functions could
- be declared. No real geometry object has to exist with C++'s static functions
- and object and package qualification isn't much different. Assuming dynamic
- selection is available for both, is there really any difference?
-
- bob
- objsys@netcom.com
-
- P.S. I still contend that dynamic functions are just functions and generic
- functions aren't necessary for selection since they could be eliminated
- from the language without a semantic difference. The methods are all that
- are *necessary*, no?
-
- P.S.S. Thank you very much Barry Margolin for your type/class answer; I'm
- considering it.
-