Re:Deno on MDN
by toastal on Monday August 23, 2021 @01:26PM
(#28279183)
They need to be first-class. Not means the ergonomics aren't great and it won't be the developer default because it requires a library. It's not good enough considering how fundamental these two are in many languages (it's even in Java now)
You still can use them [0].
> proper pattern matching
[1] is pretty good.
[0] https://itnext.io/practical-introduction-to-algebraic-dataty...
[1] https://github.com/gvergnaud/ts-pattern