Re:Inheritance Is Terrible
by lbarrow on Saturday March 19, 2016 @04:44PM
(#11320359)
Traits are great, but Scala still has subclassing. I'll update the article to make it more clear -- thanks for pointing that out.
[ Parent
| on HN ]
Subclassing isn't evil. Subclassing which violates Liskov Substitution, now I'm listening.
>but Scala still has subclassing
C++ has goto and labels, and although they are not needed for the most part in modern C++, they are still there. The key here is the programmer does not need to use them.