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

Actually thinking more about #5, there’s a class of problems where I think `any` is better than anything else: testing any kind of untrusted input type guarding. Granted `unknown` is safer in your program but `any` is most like the real world and you’re far more likely to catch mistakes in your expectations if you throw the compiler out the window and pretend it never existed.



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

Search: