2 ms·
Why not simply bake these contracts and tests into the actual software APIs so they are impossible to break? That way the app would be "backward compatible cer
by EGreg 9y ago
Why not simply bake these contracts and tests into the actual software APIs so they are impossible to break?
That way the app would be "backward compatible certified" if it used this layer. The layer would only run during deployment.
I guess an approximation is the Passing indicator on Travis or GitHub.
- majewsky 9y agoSome contracts are so complicated that we need 100-page RFCs to express them. What makes you think we can express these in a regular type system? (Unless you use Idris or Coq or something like that.)