Conversation

Replying to
His argument that type systems can’t reduce necessity of tests is ridiculous prima facie, but I do think there’s a valid point lurking in there about how type systems (i.e. proofs, i.e. mathematics) can’t fully displace empirical testing (i.e. science in the Popperian sense).
2
8
Sure, property-based testing can help catch many categories of defect that types alone do not: type system gaps, developer misunderstanding of type system, compiler bugs, etc. There’s also separate value in manually constructed (i.e. non-fuzzed) test cases; thus book reco above.
1
Sure, that’s the dream of dependent types: to make every desirable property of everything part of the type system. It remains to be seen how generalizable & practical that dream can be, but it’s promising! In the meantime, these various testing approaches fill the gap. But…
3
Show replies