Tkinter callback arguments

Diez B. Roggisch deets at
Mon Nov 2 15:18:37 CET 2009

> Your comment about "computed" makes it more clear what that's all about.
> Also Bertrand Meyer (Eiffel language creator) had idea like that, he
> called it "referential transparency". But I think when Python has this
> nice property mechanism, why do people change direct data attributes into
> properties and not the other way around or not at all, I mean using only
> properties for logical
> data attributes  --  e.g. assuring correctness first via read-only
> property?

I fail to see where read-only-ness of an attribute is a priori more correct
than having modifyable attributes. Again, it's an assumption of a future
use or constraint that is most of the times simply not correct or
relevant - at the price for more typing, and computational overhead.


More information about the Python-list mailing list