Linked by Shlomi Fish on Sat 16th Oct 2004 07:28 UTC
General Development The purpose of this essay is to explain why I believe Perl 6, the way it currently seems to progress, is the wrong thing at the wrong time, and why I predict (with all the expected caveats of predicting something) that it won't be successful. I will also suggest a better alternative for the future of Perl which makes more sense at this point.
Permalink for comment
To read all comments associated with this story, please click here.
Python OOP
by Simba on Sun 17th Oct 2004 17:53 UTC

I will mention though that Python OOP does have several problems. Compared to Java, OOP in Python is pretty unsafe from a security standpoint.

In Java, a Private variable is enforced in such a way that it is pretty much impossible for someone to violate the encapsulation and access it from outside the class. Python, however, uses a simple name mangling method to prevent access to a private variable, and that name mangling is extremely predictable. So it is simple in Python to violate the encapsulation and pull something out of a private variable that you are not supposed to see. So unlike Java Private variables, Private variables in Python offer absolutely no security against attacks from intentionally malicious code.