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

I know that.

But I heard that the static typing (implicitly) leads devs to write more monomorphic functions, which seem to be much easier to optimize by the JavaScript-VMs. But yes, you can write such code in JavaScript yourself.

The thing is that writing polymorphic stuff is a bit more effort in TypeScript, if you don't want to throw 'any' around everywhere.



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

Search: