Y
Hacker News
new
|
ask
|
show
|
jobs
by
armchairhacker
1319 days ago
This is because of exhaustiveness checking in match statements, so it applies to many more languages than Rust: most modern languages have match statements whose pattern can be tuples and literals.