Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

inkdroid (3294)

inkdroid
  (email not shown publicly)
http://www.inkdroid.org/
AOL IM: inkdroid (Add Buddy, Send Message)
Yahoo! ID: summe_e (Add User, Send Message)
Jabber: inkdroid

inkdroid is a person, not a robot. however, inkdroid likes ink. inkdroid likes perl too.

Journal of inkdroid (3294)

Tuesday November 05, 2002
09:31 PM

Think Horses not Zebras

[ #8787 ]

brian d foy's comments on "think horses not zebras" when debugging reminded me of one of my favorite books on programming (suggested to me by petdance)...The Pragmatic Programmer. Tip 26 "select isn't broken" on p. 96 advises:

We worked on a project where a senior engineer was convinced that the select system was broken on Solaris. No amount of persuasion or logic could change his mind (the fact that every other networking application on the box worked fine was irrelevant). He spent weeks writing work-arounds, which, for some odd reason, didn't seem to fix the problem. When finally forced to sit down and read the documentation on select, he discovered the problem and corrected it in a matter of minutes. We now use the pharse "select is broken" as a gentle reminder whenever one of us starts blaming the system for a fault that is likely to be our own. Remember, if you see hoof prints, think horses--not zebras. The OS is probably not broken. And the database is fine.

Perl is probably OK too :)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.