Abstract :
How should you design your software to detect, react, and recover from exceptional conditions? If you follow Jim Shore\´s advice and design with a fail fast attitude, you won\´t expend any effort recovering from failures. Shore argues that a "patch up and proceed" strategy often obfuscates problems. Shore\´s simple design solution is to write code that checks for expected values upon entry and returns failure notifications when it can\´t fulfil its responsibilities. He argues that careful use of assertions allows for early and visible failure, so you can quickly identify and correct problems
Keywords :
exception handling; object-oriented methods; program testing; software fault tolerance; code checking; exception handling; patch up-proceed strategy; program testing; software design; Costs; Design engineering; Humans; Logic; Null value; Plugs; Programming profession; Redundancy; Safety; Software design; failing fast; software recovery;