Why OO Sucks by Joe Armstrong
harmful.cat-v.org/software/OO_programming/why_oo_sucksMy principle objection to OOP goes back to the basic ideas involved, I will outline some of these ideas and my objections to them.
Joe Armstrong is the creator of Erlang. He has 4 objections to OOP:
-
He says functions and data structures are very different, so it's incorrect to bind them together. Feels like a weak argument to me.
-
He somehow says that everything being an objects is wrong, and everything should be a different type instead. This is an even weaker argument.
-
He dislikes that he can't put all the types in one file. Yeah, it's good you can't!
-
And something incoherent about states.
I'm not the biggest fan of OOP myself, but this rant is just useless. I am keeping this bookmark just because the site looks cool.