Introduction to Contract Programming
https://www.hillelwayne.com/post/contracts/ [www.hillelwayne.com]
2017-11-27 23:53
Even without native language support, you can still get pretty far with assert statements and whatever libraries your language has. I’d recommend trying it out. Most large codebases have a lot of implicit contracts “enforced” through unit tests and guard statements. Might as well make them explicit.
source: L