Why does python not have a mechanism for data hiding?

Russ P. Russ.Paielli at gmail.com
Tue Jun 3 01:42:36 EDT 2008


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.




More information about the Python-list mailing list