3 ms·
> unless you leave out testing, which can catch way more bugs, including ones that the compile-time type checker won't. 1. which sadly tends to be the usual st
by masklinn 13y ago
> unless you leave out testing, which can catch way more bugs, including ones that the compile-time type checker won't.
1. which sadly tends to be the usual state of the industry, as distasteful as it is. Static typing bringing some sort of "mandatory testing" is thus something of an argument.
2. good static type systems also make testing easier, see e.g. specification testing (quickcheck) in Haskell versus Erlang. I think Haskell's is much more enjoyable.
3. Dependent typing.
> The article does not make the testing argument and only makes the sometimes-hard-to-debug argument.
Which is not really correct anyway, most people who've had to debug C++ templates soup don't argue that it's easier to debug than Python code.