On Wed, Jun 11, 2008 at 3:13 PM, Paul McNett <[EMAIL PROTECTED]> wrote:
> Ed Leafe wrote:
>> On Jun 11, 2008, at 4:59 PM, Paul McNett wrote:
>>
>>> ...because it encapsulates the attribute inside the property
>>> definition
>>> instead of inside the class definition.
>>
>>
>>       ???
>>
>>       Once set, there is no encapsulation. It is no different than any
>> other attribute.
>
> When reading the code, the __init__ isn't cluttered with irrelevant
> information.
>
> Obviously an attribute is an attribute.

You have a point.  I just like the compactness of declaring it in the
__init__ (yeah, I know it's only 3 lines saved but they add up after
awhile).  So, which one are we going with?


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to