6:06 PM
It is however still true, and common knowledge amongst developers of dynamic languages.
You do not in practice get very many runtime type errors on deployed, released apps. It's quite unusual. It is in practice not a big deal.
And in any case, the issue was about development speed.
Claiming that type checking amounts to "huge amounts of tests" is absolute baloney. Yes, you are right that static type checking amounts to checking all possible code paths for correctnes on a well defined feature set.
But calling it "not comprehensive" is over selling it. It tests all possible code paths fore correctness on one and exactly one feature set: That the type of the variable matches the type of the function. That's it.
So type checking will in no way amount to huge amounts of tests. You'll still have to write all those huge amounts of tests if you want to know that your application actually works. Because type checking catches only one of the multiple types of errors your code can have.
And in general, when you write your code, you also test that it works. And that catches pretty much any type error you will have.
Yes, it happens that your code makes an assumption in place X that the type will be a list of strings, and you forgot that the method also sometimes are called with just plain strings, and then it will fail when it reaches place X in a month because you didn't test that case.
But that's not only bad design to accept such wildly different types and then not immediately in the function call make them the same type, it is also not a common problem, as I mentioned.
With 12 years of full-time development as proof I tell you: This is just not a big issue.
I'm not asking you to like dynamic typing. That's up to you. I'm just telling you that the worry you feel when not having a compile-step is perfectly normal, and everyone has that. But that worry is not founded in reality.
Yes, static typing catches errors you wouldn't catch otherwise. But not very often. That's just how it is. If you want to disprove me, why don't you make some huge study on it or something.
But until then, all we have is the expectation you expressed, vs the experience of thousands of developers.