Python for system administrators (developerWorks)
Python for system administrators (developerWorks)
Posted Sep 6, 2007 9:58 UTC (Thu) by flewellyn (subscriber, #5047)In reply to: Python for system administrators (developerWorks) by albeady
Parent article: Python for system administrators (developerWorks)
Visibility is not properly a function of the object system. Python solves this problem the way other languages have solved it, properly: with a package system. The fact that Python objects don't limit access the way they do in Java and PHP just means that they aren't broken. p>
The fact that packages handle visibility in Python, instead of objects, also means that you can control visibility for non-OO constructs, like functions and variables, without having to resort to nonsense like container packages and "static methods".