Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Error handling

by chromatic (Archbishop)
on Sep 17, 2012 at 21:52 UTC ( #994121=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Error handling
in thread Error handling

... is there such a thing as too much error handling?

Yes. Does it make the code more difficult to maintain? Is it too expensive in terms of resources?

I spend most of my error handling budget at the edges of the application, where data can come in or where it's easy to misuse an API. I spend a lot of time making sure it's difficult, if not impossible, to misuse an API.


Comment on Re^3: Error handling

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994121]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-11-24 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls