Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
noduerme
· 5y ago · 0 comments
Agreed. I never saw the utility of it really until reading this today. I can't think of many situations where I've relied on exhaustively checking union types in a switch case, but there are probably a couple that could be tightened up with 'never'.
Comments
[–]
christopherbalz
5y ago
+1 Also, the author of the article was able to do the job in an article that one can read in just a few minutes - a rare feat.