Re: property question

2007-10-09 Thread Bruno Desthuilliers
Manu Hack a écrit : > hi all, > > If I have a class A with A.x, A.y, A.z. A.y and A.z are property and > in order to compute the value of them, A.y depends on A.x while A.z > depends on A.y and A.x. If I call A.y, and A.z, the value A.y would > be computed twice. Is there a smart way to avoid t

Re: property question

2007-10-08 Thread George Sakkis
On Oct 9, 1:20 am, "Manu Hack" <[EMAIL PROTECTED]> wrote: > hi all, > > If I have a class A with A.x, A.y, A.z. A.y and A.z are property and > in order to compute the value of them, A.y depends on A.x while A.z > depends on A.y and A.x. If I call A.y, and A.z, the value A.y would > be computed tw

property question

2007-10-08 Thread Manu Hack
hi all, If I have a class A with A.x, A.y, A.z. A.y and A.z are property and in order to compute the value of them, A.y depends on A.x while A.z depends on A.y and A.x. If I call A.y, and A.z, the value A.y would be computed twice. Is there a smart way to avoid that as to A.y will be recomputed