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

> Additionally it is possible to code the match function to implement the functionality I am talking about during runtime instead of compile time.

Maybe, but I'm not sure there's more value in that.




Having match crash immediately helps you identify the branch error without explicitly writing a test case for it. It is equivalent to raising an exception.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: