Re: Best Practices Issue
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 08, 2003
- 436 views
----- Original Message ----- >From: "C. K. Lester" <cklester at yahoo.com> >To: "EUforum" <EUforum at topica.com> >Subject: Re: Best Practices Issue > > >On Friday 07 February 2003 06:13 pm, you wrote: >> >> > On Fri, 7 Feb 2003 12:29:48 -0600, "C. K. Lester" <cklester at yahoo.com> >> > >> > wrote: >> > > anybody else who wants to chime in): what do you do if a value changes >> > > in your variable, but not as a result of the control itself? >> >> Isn't that what OOP was all about? If you accessed a variable, and it had >> an associated method, which was inherited, code was run to automagically do >> these things among all the sub-objects that were inheriting the same >> method? > >I dunno, Kat... I don't do OOP. But are you suggesting that OOP allows an >onChange() event for a variable?! That'd be interesting. Yes. OO does enable this type of thing, but on for classes that you create, not for built-in types such as integer. ---------------- cheers, Derek Parnell