Y
Hacker News
new
|
ask
|
show
|
jobs
by
sampo
3774 days ago
In Scala you get the compiler to check for exhaustive pattern matching if you use case classes and sealed classes. So if you want exhaustiveness checks, you can have them.