DEV Community

Discussion on: Do we really need classes in JavaScript after all?

Collapse
 
chenge profile image
chenge

Erlang's father Armstrong has a post say "Object is wrong".

Golang has OOP but no inheritance.

Elixir uses a functional way.

So in JS we can use class, but we should just use class as interface and no data inheritance like golang.