thinking some more about the 'properties style' proposal ...

One of the motivations for making the switch to 'properties' is to 
remove the performance costs associated with all the accessor 
methods.  In cases where no calculations are done, 2 methods and an 
underscored attribute can be replaced with a single property.  
However, these 'quasi-properties' WON'T have docstrings associated 
with them!  True 'properties' can have docstrings, but they require 2 
methods and an internal underscored attribute.  Thus, there's a 
conflict between speed and docstrings.

Tavis

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to