A defense of object-orientated programming

1 points by lim


fanf

This article almost ignores inheritance which is the most characteristic feature of OOP. It describes OOP as if it is the same thing as abstract data types (it even leaves out dynamic dispatch), and argues that because abstract data types are a good thing, it’s bad to reject OOP. But it is inheritance that has become less popular, in favour of languages that allow you to use abstract data types and dynamic dispatch without inheritance.

It’s silly to defend OOP by defending the features that post-OOP programmers still use after they dropped the more awkward trappings of OOP.

bediger4000

This article is full of "object-orientated". Has "oriented" become "orientated" the same way "commentor" became "commentator"? I find the "-ator" jarring, and I'd like it to not happen in this particular instance.

icholy

This post is confusing. It says that Rust/Go don't support OOP. Then it goes on to explain that the benefits of OOP are polymorphism & encapsulation. But Rust/Go do support those.

edit: I'm not trying to make an argument that Go/Rust are or are not OOP.