Map
Index
Random
Help
th

Quote: problems with error handling by return code and status flags; checked at call sites; harder to read; multiple error cases ignored; harder to modify; expands set of legal values

topics > all references > references a-b > QuoteRef: buhrPA9_2000 , p. 820



Topic:
exception handling by unique value
Topic:
failure returning functions and expressions

Quotation Skeleton

Both [return code and status flag] techniques have noticeable drawbacks. First, and … error is discovered and subsequently handled only when … Second, these tests are located throughout the program, … difficult to determine if all the necessary error … testing is coded inline. The return code technique … independent of the computation.   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: exception handling by unique value (8 items)
Topic: failure returning functions and expressions (24 items)

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