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

> Preferably during running of your unit-tests.

Which means you need more unit test coverage, have more tests to maintain, and your code structure becomes more brittle.

> Static typing does not prevent runtime errors does it?

Often it does; and if a validation rule is too complex or externally-dependent to enforce at compile time, static typing at least lets you push checking to the start of an operation, rather than in the middle of your computation.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: