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

Yes, statically typed languages can help.

However, if you have good test coverage then you can test for that stuff and get a similar experience. For example, if a test break then you know your variable is not a number anymore when you need it to be.



Manually writing tests for things which the compiler automatically picks up is not my idea of 'a similar experience'. Background: ruby and is dev who is now learning Scala and loving having type safety




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

Search: