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

  1. Xref: sparky comp.object:3043 comp.lang.eiffel:1005
  2. Path: sparky!uunet!email!vexpert.dbai.tuwien.ac.at!mst
  3. From: mst@vexpert.dbai.tuwien.ac.at (Markus Stumptner)
  4. Newsgroups: comp.object,comp.lang.eiffel
  5. Subject: Re: Class methods (was: Re: How to design a data structure library)
  6. Message-ID: <5639@vexpert.dbai.tuwien.ac.at>
  7. Date: 28 Jul 92 18:50:15 GMT
  8. References: <92210.125846MKK2@psuvm.psu.edu>
  9. Organization: DB and ES Subdivision, TU Vienna
  10. Lines: 18
  11.  
  12. From article <92210.125846MKK2@psuvm.psu.edu>, by MKK2@psuvm.psu.edu:
  13. > While your crystal clear traditional syntax is nice, I feel fine with
  14. >    c = [a union:b];
  15.  
  16. The discussion is definitely NOT about syntax - there's nothing wrong
  17. with what you wrote above.  It is about the level at which completely
  18. ordinary binary operators are to be declared.
  19.  
  20. > As for using Class methods, I wouldn't mind if there was also a
  21. >    c = [Set union:a :b];
  22.  
  23. I still think this is conceptual overkill for what amounts to the
  24. equivalent of an addition operator.  Note that the Eiffel solution is
  25. more radical still, since here the assignment to c is explicit.
  26. -- 
  27. Markus Stumptner                                mst@vexpert.dbai.tuwien.ac.at
  28. University of Technology Vienna                 vexpert!mst@relay.eu.net
  29. Paniglg. 16, A-1040 Vienna, Austria             ...mcsun!vexpert!mst
  30.