durusmail: quixote-users: Accessor methods and ZODB
Accessor methods and ZODB
2004-03-25
2004-03-25
2004-03-26
2004-03-26
2004-03-26
Re: Accessor methods and ZODB
2004-03-26
Accessor methods and ZODB
John J Lee
2004-03-26
On Wed, 24 Mar 2004, Daniel Potter (Ars Analytica) wrote:

> One uses .set_x(y) to avoid typos which create a new
> variable instead of doing the assignement intended.
>
> In the case of Dulci (in particular the places that
> use ZODB) the use the .set_x(y) formalism to allows
> one to do some type checking.
[...]

Of course, the same issues apply for all Python code, but perhaps data
integrity changes things in favour of accessor methods.


John


reply