Re:A bad citizen in Javaland (2006)
by jdmichal on Thursday December 03, 2015 @05:24PM
(#10673181)
Yes, as in Haskell type classes. Or Rust traits. Basically, anything that acts like an interface (defines a contract) but allows external definition. So you're not stuck wrapping your Integer in a ShowableInteger just to have an Integer that implements the Show interface.
[ Parent
| on HN ]
There are no comments on this comment yet.