DEV Community


Discussion on: Python vs Java

sayanarijit profile image
Arijit Basu

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

hammertoe profile image
Matt Hamilton

Better to ask forgiveness than permission ;)

codemouse92 profile image
Jason C. McDonald

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.)