by bbcbasic · 9y ago · 0 comments
Albeit I am sure this is more comprehensive.
I think because Code Contracts are not utiling any form of Dependent Types (i.e. refinement types), there is only so much that it can statically check/enforce. Refinement Types can go much farther, and their whole utility is in static checks, not runtime checks/unit tests.