4 ms·
> square peg in a round hole Python is a multi-paradigm language. I have not found Python to be better at OOP versus imperative or functional styles of program
by ilovecaching 8y ago
> square peg in a round hole
Python is a multi-paradigm language. I have not found Python to be better at OOP versus imperative or functional styles of programming.
For me, functional programming provides a closer to model to how I think about problems. This is true for many people. One should choose the style that provides the easiest translation of thought to code.
- olavk 8y agoIf you only write code which you yourself will read and maintain, then you should definitely do whatever you feel works best for you and matches your way of thinking.
- wrmsr 8y agoPython's lambda is very intentionally limited precisely to steer people away from overly functional code. Don't write Haskell in Python, and equally don't write Java in Python.