WHAT’S IN THIS CHAPTER?
- Augmenting Chapter 16’s ContractRegistry to handle argument validation
- Packaging the new facility in an aspect
- Creating libraries of contracts, importing them into your application, and attaching them to your functions in aspects
- Comparing the ContractRegistry with TypeScript, a popular compile-time type-checker
WROX.COM CODE DOWNLOADS FOR THIS CHAPTER
You can find the wrox.com code downloads for this chapter at
In strongly typed languages, you always know what you’re going to get. If a function is declared with an integer parameter, you can be sure that an integer is exactly what will come across the call boundary. With this sort of rock-solid assurance, it is no wonder that mainframe banking systems, transportation systems, and especially defense systems are implemented in strongly typed languages such as Java, C#, COBOL, and Ada.
Sometimes an entrepreneur hits the big-time and decides to become a venture capitalist. ...