3 Mar
2008
3 Mar
'08
4:20 p.m.
On Mon, 3 Mar 2008, Gael Varoquaux apparently wrote:
* Type validation of attributes: the attributes of an object can be given a type descriptor (more precisely a validation method) and the compliance of the attribute is checked at run-time when this attribute is set. This is very useful for complex codebase, but probably not for you.
Can you easily state briefly how this differs from the use of properties (with type checking on the setter)? Thank you, Alan Isaac