Re: Best Practices Issue

new topic     » goto parent     » topic index » view thread      » older message » newer message

> On Fri, 7 Feb 2003 12:29:48 -0600, "C. K. Lester" <cklester at yahoo.com>
> wrote:
> 
> >Hey, Jonas, thanks for the response. Here's a follow-up for you (and 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?

o = object
.setmethod = o = a + b + c

a = descendant of o
b = descendant of o
c = descendant of o

a = 1
b = 1 
c = 1
-- o = 3
a = 2
-- o = 4

I know my terms are wrong, i stopped oop'ing about a decade ago. Oop can 
be handy, but simulated where it's not available.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu