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

Simon Brunning simon.brunning at gmail.com
Wed Sep 28 14:17:25 CEST 2005


On 28 Sep 2005 05:06:50 -0700, Paul Rubin
<"http://phr.cx"@nospam.invalid> wrote:
> Steven D'Aprano <steve at REMOVETHIScyber.com.au> writes:
> > Do you know any language that has real private and protected attributes?
>
> Java?

Oh, there are ways around private and protected, even in Java. CGLIB
spings to mind. But you'd be wise to follow the rules, especially if
you work in a team.

When writing Java, I write Java. When writing Python, I write Python.

--
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list