Usually, this statement is made after the programmer has examined the code's execution environment and intended use. At the very least, this will help you to learn which assertion was violated so you can correct your program. Change the values of some places, then retry the assertion 2. Use method dispatch rather than case dispatch When your program needs to make a decision based on the type of an object, you have two choices. This book may not be reproduced without the written consent of its author.
Online distribution is restricted to the author's site.