Map
Index
Random
Help
th

Quote: implement own assertion class for greater expressiveness and convenience

topics > all references > references sa-sz > QuoteRef: shorJ9_2004 , p. 22



Topic:
run-time assertions

Quotation Skeleton

Most languages have built-in assertions, but they don't … I usually prefer to implement my own assertion … [e.g., with static methods such as Assert.true(bool, message), Assert.notNull(ref), Assert.cantReach(message), Assert.impossibleException(exception, message)].   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: run-time assertions (25 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.