Comment

Comment by shepherdjerred

I love how far Java has come. I still prefer TypeScript since I do a lot of frontend work and prefer to use the same language across the stack.

With the said, you can do exhaustive pattern matching in TypeScript! https://github.com/gvergnaud/ts-pattern

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton