loading...

re: Python vs Java VIEW POST

FULL DISCUSSION
 

Java: public static final void...
Python: we are all consenting adults here.

 

Better to ask forgiveness than permission ;)

 

Or, to put that another way, "stay out of my living room because I ask you, not because I have a rifle."

I actually find the entire concept of "data hiding" to be funny any more. It gives us an illusion of some sort of security, but it's really fairly meaningless fencing that we trip over more often than not. (Mind you, I'll still make some C++ members private in accordance with good practice, but not with the same verbose fervor that Java patterns imply necessary.)

code of conduct - report abuse