home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / object / 4989 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  2.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!spool.mu.edu!agate!doc.ic.ac.uk!uknet!gdt!aber!fronta.aber.ac.uk!pcg
  2. From: pcg@aber.ac.uk (Piercarlo Grandi)
  3. Newsgroups: comp.object
  4. Subject: Re: Re-use and OO
  5. Message-ID: <PCG.93Jan21221910@decb.aber.ac.uk>
  6. Date: 21 Jan 93 22:19:10 GMT
  7. References: <C0n8J9.F5E@dcs.ed.ac.uk> <1993Jan12.145647.15277@ucl.ac.uk>
  8.     <C0uBAL.2EK@dcs.ed.ac.uk> <1993Jan17.161536.27190@ucl.ac.uk>
  9. Sender: news@aber.ac.uk (USENET news service)
  10. Reply-To: pcg@aber.ac.uk (Piercarlo Grandi)
  11. Organization: Prifysgol Cymru, Aberystwyth
  12. Lines: 33
  13. In-Reply-To: ucacgcj@ucl.ac.uk's message of 17 Jan 93 16: 15:36 GMT
  14. Nntp-Posting-Host: decb.aber.ac.uk
  15.  
  16. gym@dcs.ed.ac.uk (Graham Matthews) writes:
  17.  
  18. Matthews> If re-use was being supported properly these redundancies
  19. Matthews> would not be in a program and hence the need for such tools
  20. Matthews> would disappear. Comments?
  21.  
  22. Joly> (1) How do you assess the problem of "names of things"?
  23.  
  24. Matthews> I am not sure I understand the first question Gordon - can you
  25. Matthews> rephrase it?
  26.  
  27. On 17 Jan 93 16:15:36 GMT, ucacgcj@ucl.ac.uk (Gordon C Joly) said:
  28.  
  29. Joly> It I write a stack method and call it "kcats", who would another
  30. Joly> user, or even myself one year later:-), find this method?
  31.  
  32. But this is a "trivial" problem! All you need is an inventory of things,
  33. with suitable indexes. This is not even too hard to do (even if very few
  34. people do it). At times just having an indexed manual a la Unix man
  35. pages will do. I remember a beautiful system called Calico from the MIT
  36. Prog Tech Lab, which they used to great effect with MDL classes/method
  37. (and with PDP-10 macro code too!).
  38.  
  39. The really hard problem with names and reuse is, for most languages, how
  40. to work around name conflicts, e.g. how to use two different classes
  41. called 'transport', where say one is about travel and the other is about
  42. network connections.
  43.  
  44. In most languages the only possible solution is to rename the module,
  45. but this creates longer term problems and reduces reuse actually.
  46. --
  47. Piercarlo Grandi <pcg@aber.ac.uk> c/o Dept of CS
  48. University of Wales, Penglais, Aberystwyth SY23 3BZ, UK
  49.