Hacker News new | ask | show | jobs
by TwentyPosts 742 days ago
Since when does Go have algebraic data types? Like, even "awkwardly", I can think of nothing that even come close.
1 comments

He might be referring to switching on the type of an interface... Not ADT for sure but I mean it's possible as a cludge as a tagged union, but it's more akin to single inheritance to be fair...