Will python never intend to support private, protected and public?
g.horvath at gmx.at
Thu Sep 29 08:15:11 CEST 2005
Paul Rubin schrieb:
> Huh? If my car has a "feature" that lets someone blow it to
> smithereens from hundreds of miles away without even intending to,
> that's somehow an advantage?
I would not accept a car that does constraint my driving directions. I
want to drive for myself, because its fun.
> No problem, but any decision like that should be expressed in
> "writing", by re-declaring the variable so it's no longer private.
Remember, its Python not Java.
Tastes are different and so are programming languages, but please do not
make Python to a Java Clone.
I love python because of its simplicity, freedom, power and because its
fun to program.
One reason is that it does not restrict the programer to tight und has
genuine simple solutions, like the one with "private" instance variables.
More information about the Python-list