3 ms·
Nope. Types can completely replace tests. The tests described in the article are ATDD tests, not TDD or unit tests. They're the result of a specific business w
by DanielBMarkham 6y ago
Nope.
Types can completely replace tests. The tests described in the article are ATDD tests, not TDD or unit tests. They're the result of a specific business workflow that has a goal of making sure you're building things that are useful. If you don't have that workflow, you can just use types to do the same work.
And nope, no magic tool required. Sure, tooling and automation would be really cool, much the same as having a C compiler beats the heck out of writing assembly, but it's not directly relevant to the points in the essay.