I saw this instruction in an answer to the question Python progression path – From apprentice to guru.
9. Annoy your cubicle mates every time they present you with a Python class. Claim it could be “better” implemented as a dictionary plus some functions. Embrace functional programming.
But I don’t understand this. What does this do with functional programming?
The reason this is in the “Python progression path” is that it reflects a realization that Python classes are just syntactic sugar for functions and dicts, and that by using functions and dicts directly, one needs fewer elements of the language, thereby making one’s programs more “pure.”
Of course this is utterly misguided, which is why it is funny. Or maybe I just haven’t reached enlightenment yet?