4 ms·
Traits are great, but Scala still has subclassing. I'll update the article to make it more clear -- thanks for pointing that out.
by lbarrow 11y ago
Traits are great, but Scala still has subclassing. I'll update the article to make it more clear -- thanks for pointing that out.
- jpitz 11y agoSubclassing isn't evil. Subclassing which violates Liskov Substitution, now I'm listening.
- noobermin 11y ago>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.