Does Python really follow its philosophy of "Readability counts"?
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Sun Jan 25 20:11:51 EST 2009
On Mon, 26 Jan 2009 00:59:48 +0000, Steven D'Aprano wrote:
> How is this scenario different from an API change where public_method()
> gets changed to method()?
Sorry, that's a poor example, since you were talking about attributes
rather than methods. Must stop posting before coffee *wink*
Rewording:
How is this scenario different from an API change where
self.some_attribute gets changed to self.attribute? Surely this is just a
downside to Python's lack of declarations, rather than specific to
Python's lack of enforced data hiding?
--
Steven
More information about the Python-list
mailing list