advice needed for lazy evaluation mechanism

Steven D'Aprano steven at
Thu Nov 12 09:27:08 CET 2009

On Thu, 12 Nov 2009 08:53:57 +0100, Dieter Maurer wrote:

> Steven D'Aprano <steve at> writes on 10 Nov
> 2009 19:11:07 GMT:
>> ...
>> > So I am trying to restructure it using lazy evaluation.
>> Oh great, avoiding confusion with something even more confusing.
> Lazy evaluation may be confusing if it is misused. But, it may be very
> clear and powerful if used appropriately.

I was referring to the specific example given, not the general concept of 
lazy evaluation.

I went on to give another example of simple, straightforward lazy 
evaluation: using properties for computed attributes.


More information about the Python-list mailing list