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

Steve Holden steve at holdenweb.com
Fri Sep 30 06:37:40 EDT 2005


Antoon Pardon wrote:
> 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.
> 
Quite true, but people do none the less have that choice. Some days I 
wish a few more would exercise it.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list