Comment

Comment by properparity

But why put in unreachable? Doesn't make any sense to me.

If a branch is truly not supposed to ever happen, why have a branch at all? Just remove that code from the source entirely- that helps the optimizer even more, because the most optimal code is of course no code at all.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton