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

Godwin's law strikes again. Static typing is great, don't get me wrong, but it's not always the right solution. There are cases where runtime flexibility can be useful.


TypeScript isn't statically typed, though. I make sure to keep my type boundaries clean but I haven't shied away from dropping into `any` if it was faster to express.

I did then get better at TypeScript over time and remove most of those cases, though.




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

Search: