In article <[EMAIL PROTECTED]>, Matthias Kaeppler <"matthias at finitestate dot org"> wrote: > >Why would I want to use an attribute in Python, where I would use >getters and setters in Java? I know that encapsulation is actually just >a hack in Python (common, "hiding" an implementation detail by prefixing >it with the classname so you can't access it by its name anymore? Gimme >a break...), but is that a reason to only write white box classes? ^^
"Simple is better than complex." -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck." --USENET schmuck (aka Robert Kern) -- http://mail.python.org/mailman/listinfo/python-list