News for hackers. Stuff that matters.
Re:Goodbye, shitty Car extends Vehicle object-orientation tu... by voidhorse on Saturday October 19, 2019 @08:31PM (#21301591)
Haskell’s typeclasses[1] support this use case—though they are oftentimes a bit clukier to use than OOP approaches.

[1]: https://en.m.wikipedia.org/wiki/Type_class

There are no comments on this comment yet.