home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / object / 3029 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.4 KB

  1. Xref: sparky comp.object:3029 comp.lang.eiffel:993
  2. Newsgroups: comp.object,comp.lang.eiffel
  3. Path: sparky!uunet!munnari.oz.au!metro!graham
  4. From: graham@maths.su.oz.au (Graham Matthews)
  5. Subject: Re: Class methods (was: Re: How to design a data structure library)
  6. Message-ID: <graham.712278529@galois>
  7. Sender: graham@maths.su.oz.au
  8. Nntp-Posting-Host: galois.maths.su.oz.au
  9. Organization: Sydney University Computing Service, Sydney, NSW, Australia
  10. References: <1992Jul23.123609.11699@bony1.bony.com> <5618@vexpert.dbai.tuwien.ac.at> <GEOFF.92Jul27100601@wodehouse.flash.bellcore.com>
  11. Date: Mon, 27 Jul 1992 23:08:49 GMT
  12. Lines: 23
  13.  
  14. (Geoffrey Clemm) writes:
  15. >I believe you missed the central point of Richie's article, namely that
  16. >Eiffel 3.0 has a clean way of handling this situation, to quote:
  17. >In article <1992Jul23.123609.11699@bony1.bony.com> richieb@bony1.bony.com (Richard Bielak) writes:
  18. >> Given this, the above call to "union" would be written like this
  19. >> (using Eiffel 3 syntax):
  20. >>     !!c.union (a,b);
  21. >> Which I think is better. 
  22. >With which I completely agree.  This avoids the unpleasant assymetry
  23. >of c:=a.union(b).
  24.  
  25. Personally I think this is just awful. I want to write
  26.  
  27.     c := a + b;        OR
  28.     c := a union b;
  29.  
  30. Any other notation is completely non-suggestive.
  31.  
  32. graham
  33. --
  34. Graham Matthews                 And it's true we are immune
  35. Pure Math, Uni.Sydney, Oz       When fact is fiction and T.V. is reality
  36. graham@maths.su.oz.au
  37.