Newsgroups: comp.object,comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!news.sprintlink.net!news.wwa.com!rcm!rmartin
From: rmartin@rcmcon.com (Robert Martin)
Subject: Re: How many parents?
References: <36@template.win-uk.net> <3l9acq$dlg@news.cc.utah.edu> <1995Apr4.042612.18954@rcmcon.com> <3m59u3$bpg@ionews.io.org> <1995Apr8.163310.1865@rcmcon.com> <knight.797550489@tina.mrco.carleton.ca> <patrick_d_logan.272.0007E90F@ccm.jf.intel.com> <1995Apr12.163947.5143@rcmcon.com> <knight.797884901@tina.mrco.carleton.ca>
Organization: R. C. M. Consulting Inc. 708-918-1004
Date: Sun, 16 Apr 1995 15:03:20 GMT
Message-ID: <1995Apr16.150320.3581@rcmcon.com>
Lines: 25
Xref: glinda.oz.cs.cmu.edu comp.object:29636 comp.lang.smalltalk:22808

knight@mrco.carleton.ca (Alan Knight) writes:

>In <1995Apr12.163947.5143@rcmcon.com> rmartin@rcmcon.com (Robert Martin) writes:

>>patrick_d_logan@ccm.jf.intel.com (Patrick D. Logan) writes:

>>On the other hand, Figure 6-23 on page 407, and the accompanying text
>>show a use for MI that is not easily converted to aggregation.  In
>>this case, the class Door must inherit from Portal, and must also
>>inherit from the class TimerClient so that it can receive time out
>>messages from the timer.

>I haven't read the book, but in a dynamically typed language I would
>expect you could just implement a method to respond to the timer
>mesages. Alternatively, the timer could be parameterized so that it
>sends different messages to different clients.

Correct on both counts.


-- 
Robert Martin       | Design Consulting   | Training courses offered:
Object Mentor Assoc.| rmartin@rcmcon.com  |   Object Oriented Analysis
2080 Cranbrook Rd.  | Tel: (708) 918-1004 |   Object Oriented Design
Green Oaks IL 60048 | Fax: (708) 918-1023 |   C++
