Hacker News new | ask | show | jobs
by rdtsc 3727 days ago
Joe Armstrong's thoughts on how Erlang is more OO than OO languages:

http://erlang.org/pipermail/erlang-questions/2009-November/0...

Joe likes to be funny, so don't get upset and confrontational about it.

The central idea is this I think:

---

I now believe the following to be central to the notion of OO.

      - Isolated concurrent things
      - Communication through message passing
      - Polymorphism
All the other stuff (inheritance, private/public methods, ....) has nothing to do with OO.

---

2 comments

FYI, Armstrong thinks that OO sucks [1] so it's weird to see him claim his language is a better OOP language than others.

[1] http://harmful.cat-v.org/software/OO_programming/why_oo_suck...

... "Joe likes to be funny" ...

Besides this idea of taking a label away from something you don't like is also a good strategy in general. He obviously doesn't think Erlang should do multiple inheritance. He just points out languages that have been calling themselves OO these years have been impostors.

Also not sure if I mentioned, Joe like to make witty jokes. So don't take it too seriously.

Don't take it seriously. Joe actually admitted, that they only called Erlang OOish because of the OO hype, but Erlang is not an OO language in any way, of course.
I would gently submit to you that Erlang is pretty close to the definition of 'Object Oriented' as given by the guy who created that phrase.

The commonly held definition of OO has drifted far from that ideal over the years.

It is. But at this point it is rather tongue-in-cheek. I certainly wouldn't want Erlang to all of the sudden be called Object Oriented.
Agreed. That ship has sailed.