Yuriy Gromchenko

34%
Flag icon
Without a contract, all the compiler can do is ensure that a subclass conforms to a particular method signature. But if we put a base class contract in place, we can now ensure that any future subclass can't alter the meanings of our methods.
The Pragmatic Programmer
Rate this book
Clear rating
Open Preview