[Python-au] New Python Class Features

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Fri, 17 Jan 2003 15:04:03 +1100

> I'd recommend only using property for computed attributes (i.e. ones that
> need a function call to calculate their value).  Most of the time you don't
> need them.

The other reason for using them is for preconditions (check something before
getting/setting) or postconditions (do something after getting/setting)

Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.