Skip to Main Content
Oracle PL/SQL Best Practices, 2nd Edition
book

Oracle PL/SQL Best Practices, 2nd Edition

by Steven Feuerstein
October 2007
Intermediate to advanced content levelIntermediate to advanced
292 pages
8h 38m
English
O'Reilly Media, Inc.
Content preview from Oracle PL/SQL Best Practices, 2nd Edition

Chapter 6. Doing the Right Thing When Stuff Goes Wrong

“Stop being so negative, Steven!”, “Why do you always assume the worst?”, “You’re such a ‘glass half empty’ person, Steven.”

Ah, the grief I get when I try to convince people of all that is wrong with the world! Can’t you just enjoy life, they plead, instead of complaining about it? Sure, I can and I do. But I’ll bet each of you knows a person like me: a congenital whiner, always finding problems, always taking the fun out of it for everyone else. (Oh, by the way, there is a web site for such folks at www.despair.com.)

Well, I suggest that in the world of programming, the whiners are correct, and should be highly prized resources on any development team! (Hire me, please!) You see, almost every programmer thinks he (gender choice is deliberate) is the cat’s meow, the finest coder who ever lived. He can do no wrong; he writes really cool code; he is so, so clever; and he needs to write nary a comment in his code. As a result, that amazing code contains no errors and always acts exactly as expected. So why should such a remarkable person (like you, like me?) deal with the negative? That’s someone else’s problem.

Even if we accept that such a person actually exists (ha!), I would still argue that Super Programmer needs to pay lots of attention to error management. After all, those fickle, kinda dumb users might still use his program incorrectly, causing that pristine work of logic to fail.

No doubt about it: whether you are the perfect ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle SQL*Plus: The Definitive Guide, 2nd Edition

Oracle SQL*Plus: The Definitive Guide, 2nd Edition

Jonathan Gennick
Oracle PL/SQL Programming, Third Edition

Oracle PL/SQL Programming, Third Edition

Steven Feuerstein, Bill Pribyl
Oracle PL/SQL Programming, 5th Edition

Oracle PL/SQL Programming, 5th Edition

Steven Feuerstein, Bill Pribyl

Publisher Resources

ISBN: 9780596514105Supplemental ContentErrata Page