Comment

Comment by mathh

>>OOP is fundamentally a paradigm about modelling a mutable world

Many interesting points in this comment, but I am not sure about the mutable part of this assertion. I see those two concepts often presented as fundamentally intricated but modelisation is an effort of abstraction not tied to implementation choices, and objects can be perfectly immutable.

Using these words, I would simply say OOP is fundamentally a coding paradigm about modelling a system, nothing more. And that is why it has been so successful.

Using OOP and avoiding mutability when appropriate, I would say you get most of FP benefits without abandoning the modelisation capabilities and objects features.

And more and more FP constructs are now integrated in OOP languages. Then APIs can become more important than the language itself.

That's what have been demonstrated by modern Java in my opinion.

parent mathh 6 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton