4 ms·
ADTs is last missing piece that would make me fully content with Go :)
by qaq 4y ago
ADTs is last missing piece that would make me fully content with Go :)
- kajaktum 4y agoI agree, I love that Go is simple but it is simply too...simple. It makes it hard to represent a much harder state transformations.
- deleted 4y ago[deleted]
- achenet 4y agoaren't interfaces technically an abstract data type? EDIT: ah, it's algebraic data types, my bad, apologies.
- xigoi 4y agoInterfaces are not closed, which is considered a big advantage of sum types (though it can also be a disadvantage).