|
|
|
|
|
by lmm
902 days ago
|
|
> Haskell did nominative "interfaces" (typeclasses) and post-creation conformance 20 years before Go happened. Not the same thing, yes you can have orphan instances (with a flag) but you still need an explicit typeclass instance somewhere. Whereas Go interfaces are structural rather than nominal. (And much as I might wish otherwise, Haskell barely qualifies as a mainstream language) |
|