Scientific theories are demonstrated through experiments. We trust those theories only when experimental evidence is so vastly overloaded that our confidence has so many nines that we can tolerate the occasional glitch.
-
Show this thread
-
In software those experiments are tests. We demonstrate correctness by executing enough tests to raise our confidence to a level that has so many nines we feel safe deploying.
3 replies 9 retweets 71 likesShow this thread -
There is no escape from this. Whether you use static, or dynamic typing, you must still demonstrate correctness by executing tests. Static typing does not reduce that number of tests, because those tests are behavioral and empirical.
11 replies 16 retweets 72 likesShow this thread -
Thus, the testing burden is independent of typing. The number of tests you write and execute is unaffected by the type system of your language.
25 replies 8 retweets 59 likesShow this thread -
Replying to @unclebobmartin
Dude, read a programming languages textbook. This one contains a clear discussion of the formal refutation to your claim in the introduction https://www.amazon.com/Types-Programming-Languages-MIT-Press/dp/0262162091 … Church and Curry proved the opposite of what you’re saying before there were computers.https://bit.ly/2jEPMmV
1 reply 14 retweets 107 likes -
I can’t dispute that programs CAN be proved correct. I think the original assertion is that more often they are not, they are tested empirically using test cases. Anyone who works in the software industry and disputes that is just lying to themselves.
1 reply 0 retweets 1 like -
“testing burden is independent of typing” implies that types don’t prove anything worth knowing(or testing) about programs. If this seems false to one’s intuition, I’d recommend giving a modern type system the ol’ college try.
1 reply 0 retweets 1 like -
For the record: I’m pro types. I agree that types do mean that some test cases are not needed. However, rarely does it mean that no tests are needed to verify the behavior.
1 reply 0 retweets 1 like -
For sure, I think few would contest that. That’s very different from the original claim.
1 reply 0 retweets 1 like -
This Tweet is unavailable.
If I can prove a strictly smaller number of things can go wrong, than otherwise, how is this useless? It's smaller, therefore, useful.
-
-
This Tweet is unavailable.
-
Replying to @ogamita @TravisMWhitaker and
I completely agree that it comes down to cost. I think Boeing, and hundreds of other companies, might disagree with your cost analysis. It comes down to unawareness of the cost, almost every time. There's a reason the Australian government, for example, invests in this problem.
0 replies 0 retweets 1 like
End of conversation
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.