From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,fb2e75ca89362493 X-Google-Attributes: gid109fba,public X-Google-Thread: 114809,fb2e75ca89362493 X-Google-Attributes: gid114809,public X-Google-Thread: fac41,fb2e75ca89362493 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,fb2e75ca89362493 X-Google-Attributes: gid103376,public From: "Malcolm Macgregor" Subject: Re: Conception problem Date: 1997/06/03 Message-ID: <01bc701a$31dc19e0$7d1e6c89@ot075894.open.ac.uk>#1/1 X-Deja-AN: 245778794 References: <01bc6b91$54b26a60$d19ecec2@beta> <01bc6c26$4e1c0ef0$ab526478@jims_nt_1> Organization: The Open University - MCS Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.eiffel,comp.lang.smalltalk Date: 1997-06-03T00:00:00+00:00 List-Id: Jim shaw wrote in article <01bc6c26$4e1c0ef0$ab526478@jims_nt_1>... > A better solution would be to implement the Observer design pattern ... Hey this a Smalltalk group don't bring your java terms in here:-) This pattern in Smalltalk is generally referred to as MVC. >> This is a question about what is > > the best > > way to handle lists where modifications of one element can trigger > > modifications > > on other elements of the list. This is a standard MVC situation and the VisualWorks cookbook tells you how to do exactly this sort of thing in very few lines of code.I'm sure IBM and express will have the same sort of thing. Post again if you can't get hold of VW. What language are you wanting to do these list sort of things in? P.S. Definitely read Gamma, and I'm joking about use of Observer. Observer-observed is a more general term than MVC and should become part of Smalltalk lingua franca.