Comment

Comment by smallnamespace

> the compiler will flag all pattern matches that you need to update

At Google, the bottleneck is that a team changing a commonly used enum will not know how to update all the broken use sites, since it can be affecting dozens or hundreds of teams.

It is better to decouple the enum change from the use site change and let consuming teams update on their own schedule.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton