Comment

Comment by typescriptfan1

Not sure pattern matching will age well. It seems to promote anti-OO design, may cause the switch statement to devolve into if/else, and creates another way to do the same thing.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton