3 ms·
Testing is a bandaid that only pretends to show that your code is correct. Static verification (what includes static types) is the real deal. That said, WTF i
by marcosdumay 3y ago
Testing is a bandaid that only pretends to show that your code is correct.
Static verification (what includes static types) is the real deal.
That said, WTF is there with people insisting that types must be either static or dynamic, and that dynamic types are useless?
- pfdietz 3y agoStatic typing, as done in mainstream languages, doesn't show your program is correct. Is you compiler written in a mainstream language correct just because it compiles? Of course not. Don't point to academic curiosities with dependent types if they aren't actually used. Extensive testing, on the other hand, is used in the "real world" for assurance.
- yakshaving_jgt 3y agoThis is the classic "Uncle Bob" style false dichotomy. Whoever said you can only pick one of the two approaches?
- marcosdumay 3y agoEvery code out there on the real world is full of baindaids and duct tape. Yet, the actual amount varies a lot, as does the centrality of the patched things.