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

Exactly. In fact, I find dynamic types to be much slower to work with in the long-run.

For example, with a statically typed language, just one look at the method signature is sufficient to know exactly what it has to be passed. In the worst example of dynamic typing, in Javascript I don't even know how many arguments have to be passed. I probably have to look at the API documentation, and hope the author gave details about what the function is expecting.

And compile-time errors are much cheaper than runtime errors.



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

Search: