
Conditional Cardinality with Joël Quenneville
Software Unscripted
00:00
The Value of Writing Two Sources of Truth
There's something about type systems that I really appreciate, which is sort of having two sources of truth for what a piece of code should do. The actual implementation and then you have the type signature. And the compiler is really just checking that those two are consistent with each other. To get a failure, generally it's assumed that the code is wrong, but it could be the test that's incorrect.
Transcript
Play full episode