[Python-au] New Python Class Features
Fri, 17 Jan 2003 15:33:05 +1100
On Fri, Jan 17, 2003 at 03:04:03PM +1100, Anthony Baxter wrote:
> > 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)
Good point -- I'd forgotten about this.