Hacker News new | ask | show | jobs
by jpc0 741 days ago
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...