Hacker News new | ask | show | jobs
by tome 3613 days ago
Nor sum types.
2 comments

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.