Hacker News new | past | comments | ask | show | jobs | submit login

That is why I think we need some way to identify pattern matching + exhaustiveness checking, vs non-exhaustive switching matching is really more like "destructuring with syntactic sugar".

Exhaustiveness checking is what elevates pattern matching to the other side of the expression problem, which is about getting feedback from the compiler to help you write programs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: