Re:I Love Go; I Hate Go
by tome on Tuesday August 02, 2016 @10:15AM
(#12210072)
Nor sum types.
[ Parent
| on HN ]
Interfaces can be used to messily construct open sum types. Not enough to save go's error handling story, though.
Re:I Love Go; I Hate Go
by prodigal_erik on Tuesday August 02, 2016 @02:03PM
(#12211805)
Interface values have a "type", despite being nil, that can make equality fail.