DEV Community

loading...

Discussion on: The Problem with Interfaces, and how Go Fixed it

Collapse
coreload profile image
📶

Haskell type classes are syntactical. There is no runtime dynamic dispatch. Go interfaces are structural types, their implementations are always inferred, and their purpose is solely for runtime dynamic dispatch.