You might have heard of "Enums with superpowers", "Tagged Union Types" or Algebraic Data Types(ADT). It is heavily used in functional programming. And yet, you rarely see them in enterprise codebases. Why is that? A common use case for ADTs is to rep...

Markdown supported · ⌘↵ to post
No responses yet.