home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / object / 3455 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.1 KB  |  22 lines

  1. Newsgroups: comp.object
  2. Path: sparky!uunet!spool.mu.edu!agate!tfs.com!tfs.com!eric
  3. From: eric@tfs.com (Eric Smith)
  4. Subject: Re: Object-Oriented Methodologies - Class Specifications
  5. Message-ID: <1992Sep7.034245.602@tfs.com>
  6. Organization: TFS
  7. References: <graham.715679543@galois> <1992Sep6.003055.2236@tfs.com> <graham.715829976@galois>
  8. Date: Mon, 7 Sep 1992 03:42:45 GMT
  9. Lines: 11
  10.  
  11. In article <graham.715829976@galois> graham@maths.su.oz.au (Graham Matthews) writes:
  12. >still ... the challenge is in modelling the relationships between objects,
  13. >not in modelling the objects themselves. In my opinion OO does a good job
  14. >of the latter and a poor job of the former.
  15.  
  16. The trick is to see that relationships are themselves objects.  For example,
  17. the ways a line and a circle can relate to each other are the line-circle
  18. relationship, which is a subclass of the two-geometric-figure relationship.
  19. Intersections are a feature of geometric figures, and the intersections of
  20. a line and a circle are a feature of the line-circle-relationship subclass
  21. of the two-geometric-figure relationship.
  22.