News for hackers. Stuff that matters.
Re:Deno on MDN by iaml on Monday August 23, 2021 @11:37AM (#28277481)
> TypeScript doesn't even come with ADTs

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

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)