On Tue, May 3, 2016 at 3:04 PM, Michael Orlitzky <mich...@orlitzky.com> wrote:
> On 05/03/2016 03:51 AM, Erik Bray wrote:
>>
>> I can say from significant experience that that is *not* the only
>> useful feature of property.
>>
>> Let's also not forget the even deeper magic that is the descriptor
>> protocol in general.
>>
>
> Well, what's the other useful feature? It lets you call methods without
> the parentheses?

You seem to have this view that the sole purpose of getter and setter
methods is to update a private member of some object. Am I
understanding that correctly?  Because either I'm misunderstanding
you, or you seem to be confused about why property was created for
Python.

Best,
Erik

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to