Hacker News new | ask | show | jobs
by spion 3614 days ago
Mainly because it has no generics.
1 comments

Nor sum types.
Interfaces can be used to messily construct open sum types. Not enough to save go's error handling story, though.
Interface values have a "type", despite being nil, that can make equality fail.