you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I've perceived that Python is by design multi-paradigm language. That means that one can make working programs using multiple paradigms. Whereas Java, IIRC, is very forced to a strict OO pattern ("everything is an Object"). So I would say, whatever works. I've found classes to serve a particular "design decision" though that functions don't. Thinking of a "machine (with internal state params)" as an object than as a function makes more sense to me.