Earlier quoted context omitted.
Rubbish, in my experience. People who understand dynamic languages know they need to write tests because it's the only thing asserting correctness. I could just as easily say static people don't write tests because they think the type system is enough. A type system is laughably bad at asserting correct behaviour. Personally I do use type hinting and mypy for much of my Python code. But I'll most certainly omit it fo…
> Rubbish, in my experience. People who understand dynamic languages know they need to write tests because it's the only thing asserting correctness. Tests don't assert correctness. At best they verify specific invariants. Statically typed languages lean on the compiler to automatically verify some classes of invariants (i.e., can I call this method in this object?) With dynamically typed languages, you cannot lean o…
Pedantically correct, but in practice those are close enough to the same thing.
Even a formal proof cannot assert correctness - requirements are often wrong. However in practice requirements are close enough to correct that we can call a formal proof also close enough.