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

> an escape hatch often needed

The only time you need that is in tests.

Otherwise you're better off using guards then blindly casting



The code base I work on has more test code than production code.




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

Search: