Hacker News new | ask | show | jobs
by dmarg 3934 days ago
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.

1 comments

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