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