RE: [Zope] Acquisition Problem ?
13 Mar
2001
13 Mar
'01
10:03 p.m.
Richard Moon writes:
But what we have here is an object, a dtml method, which behaves completely differently depending on how it is referenced.
Can anyone tell me why that is a good thing ? To me it seems a very bad thing. I like it very much!
It allows to use a single object in different contexts and to have its behaviour adapted to these contexts. In fact, the behaviour is not completely different: it is still controlled by the same code/algorithm. But the different contexts lead to slightly different behaviour, influenced by the context. You have similar effects in object orientend languages with dynamic method resolution. Dieter
9156
Age (days ago)
9156
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer