3 ms·
Like many others have pointed out I don't think OOP is universally hated. That aside I think the flavour of OOP that is unwieldy is predominantly statically typ
by Barrin92 6y ago
Like many others have pointed out I don't think OOP is universally hated. That aside I think the flavour of OOP that is unwieldy is predominantly statically typed OO languages like Java.
I've always liked Smalltalk's philosophy on many things and a key feature of its idea of OO is dynamism and 'late binding of all things'. Popular OO languages like Ruby or Python borrow heavily from Smalltalk and they're great to use and very popular.
It's the combination of static typing and OO I think that leaves a bad taste when it comes to OOP, and I think that's also reflected in newer languages. A lot of younger statically typed languages like Rust or Go seem to have ditched the OO paradigm, and embraced FP.