Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python had that kind of pattern matching for ages, but only recently got pattern matching on something like sum-types.

I only found that previous kind of pattern matching useful occasionally. But I guess I would miss it a lot, if it was gone?



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

Search: