6 ms·
Python is a multi-paradigm language, of which OO is one paradigm it supports.
by iterati 5y ago
Python is a multi-paradigm language, of which OO is one paradigm it supports.
- jimbokun 5y agoRuby is a strongly OO language, which arguably also has better support for functional programming than Python.
- cutler 5y agoYes, that's the Zen of Ruby and why I love it.
- cutler 5y agoNot really. Python 3 is all OO under the hood including what appear to be procedural functions. It's just not as elegant as Ruby's OO.
- Mikeb85 5y agoRuby has map, filter, reduce and a bunch of other functional methods. It's more about the consistency of wondering what's a function versus what's a method and then things like list comprehensions and for loops. Python also doesn't have a lot of the goodies of a real functional language, it encourages for loops and seems to be even more procedural than Ruby but less OO?