re: How I (re)learned OOP is not a silver bullet VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Remember, inheritance in Java (and probably other languages) is achieved by composition - hence my perpetual confusion when I see the "composition ...
 

Well, that's the JavaScript way of understanding OOP. Except that JavaScript at least traverses the super-chain for you in search for a property or method. Here you would have to do it manually. Doing polymorphic dispatches is also not really possible without language support. I don't want to imply that Go is a bad language, it just removes one of my most familiar tools from the toolbox, which makes me feel uneasy.

What can I say, life begins where your comfort zone ends ;)

code of conduct - report abuse