News for hackers. Stuff that matters.
Re:Are dynamic languages going to replace static languages? ... by benrbray on Wednesday August 04, 2021 @04:57AM (#28058786)
afaik Rust traits were directly inspired by the typeclass system in Haskell, which came about as a type-safe way to do the kind of ad-hoc polymorphism that you can do with interfaces in object-oriented languages like Java. Here's [1] a good talk by SPJ:

[1] https://channel9.msdn.com/posts/MDCC-TechTalk-Classes-Jim-bu...

There are no comments on this comment yet.