49

iContract: Design by Contract in Java | JavaWorld

 5 years ago
source link: https://www.javaworld.com/article/2074956/learn-java/icontract--design-by-contract-in-java.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
This month, we take a look at a tool that allows Design by Contractwith Java. The Design by Contract technique stresses the importanceof explicitly specifying the constraints that hold before and aftera software component executes. The iContract Java languageextension implements Design by Contract for Java. We discuss themerits of Design by Contract, introduce iContract, and walk througha nice little example in code. (2,100 words)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK