Why does python not have a mechanism for data hiding?

George Sakkis george.sakkis at gmail.com
Tue Jun 3 13:21:55 CEST 2008

On Jun 3, 1:42 am, "Russ P." <Russ.Paie... at gmail.com> wrote:
> On Jun 2, 10:23 pm, alex23 <wuwe... at gmail.com> wrote:
> > Then again, I have no issue with the current convention and personally
> > find the idea of adding a "private" keyword makes as much sense as
> > being able to syntactically define "model", "view" and "controller"
> > methods.
> Well, the designers of C++, Java, and Ada, to name just three very
> popular languages (well, two) seem to think it makes sense. But maybe
> you know more than they know.

And even more (well, almost all) languages use explicit delimiters for
defining blocks instead of indentation, so what's your point ?

More information about the Python-list mailing list