Re:Inheritance Is Terrible
by marcosdumay on Saturday March 19, 2016 @05:32PM
(#11320563)
Haskell has interface based generics, just like the article wants people to write. It just calls its interfaces by classes, and has a more powerful implementation than Java, that deals with default code and makes incompatibilities impossible.
Haskell even allows interface inheritance, just like Java, but calls it by... well, no name that I'm aware of, but it's there.
"In a language with generics & constrained polymorphism, do you really need subtyping too?"