Chuck Esterbrook <[EMAIL PROTECTED]> wrote: > we could move from: > print self.foo() > self.setFoo(1) > self._foo = value > > to: > print self.foo > self.foo = 1 > self.foo = value > > I think the result is: > * Much more convenient for writing and reading > * Much more Pythonic
The other advantage is that it allows more powerful subclassing, since right now classes are usually using the concrete values instead of the proper setters and getters. Ian _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
