News for hackers. Stuff that matters.
Re:Tagged Unions Are Overrated by dgellow on Friday February 19, 2021 @08:34AM (#26192955)
I know that's not part of the article title, but could someone add "...for implementing language ASTs and IRs" to the end of this submission title? That's what the article is about and changes quite a lot the context of the discussion. The context is "tagged unions when programming languages", not just "tagged unions".
Re:Tagged Unions Are Overrated by mrkeen on Friday February 19, 2021 @09:11AM (#26193306)
Or "Tagged unions are great, but not as good as they could be (depending on whether your language has good pattern matching) and maybe you could roll something worse yourself".