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

It’s not a check, it’s binding a new variable with a different type (which may or may not have the same name; if it does you can use if let x these days). And solving the other examples I mentioned is generally out of the realm of most programming languages in use today (except maybe TypeScript?) It comes with significant challenges that I’m not sure we are ready to address properly yet.



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

Search: