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

I know your claim will strike some people as absurd, but I agree. I am honestly flabbergasted that any general purpose language created in the last 20 years doesn't have sum types and pattern matching. To me they are very nearly as fundamental as aggregate types (aka structs or product types).



even php has some level of pattern matching now.


What does php not have by now, is the question.




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

Search: