Will python never intend to support private, protected and public?

Antoon Pardon apardon at forel.vub.ac.be
Fri Sep 30 05:04:02 EDT 2005


Op 2005-09-30, Steve Holden schreef <steve at holdenweb.com>:
> Antoon Pardon wrote:
>> Op 2005-09-29, Bill Mill schreef <bill.mill at gmail.com>:
>> 
>>>But, if your users can't figure out that they shouldn't be changing
>>>the variable called t._test__i without expecting side effects, what do
>>>you think of the users of your class?
>>>
>>>Python is for consenting adults.
>> 
>> 
>> No it is not. Consenting means you had the choice. Python doesn't
>> give you the choice not to consent. Unless of course you write
>> it as a C-extension, then you can hide all you want.
>> 
>
> Good grief, the ultimate choice is to use Python because you like it, or 
> not to use it because you don't. Enough with the picking every available 
> nit, please. Consent or stop complaining :-)

This is IMO not a nit. IMO people are redefining words. We are also
talking within a certain context. When people use this slogan, they
don't mean that people have the choice to not use python.

-- 
Antoon Pardon



More information about the Python-list mailing list