Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: How many different ways can Perl code fail?

by Jeffrey Kegler (Hermit)
on Jan 14, 2009 at 02:20 UTC ( #736128=note: print w/replies, xml ) Need Help??

in reply to Re: How many different ways can Perl code fail?
in thread How many different ways can Perl code fail?

This was quite useful. In my case and I think many cases, none of these are worth coding for because of one or more of:
  1. Not decidable in the general case.
  2. A lot of overhead to decide in special cases.
  3. Not catchable in Perl.
  4. Catchable, but to do so is much more likely to get in the user's way than to help her.

But it's a very nicely itemized list and it's a useful exercise every time a programmer encounters a new type of application for her to think out each of these cases, to see if she is doing all she can to help her users. I found thinking it over very useful. Thanks.

You might consider extending this list with your redaction of my basic cases, plus Larry Wall's "lightning bolt from Zeus" as mentioned in his description of Hubris as one of the programmer's virtues, and posting it as a Meditation. I'd find it useful for reference.

  • Comment on Re^2: How many different ways can Perl code fail?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://736128]
[thezip]: My doggies love it when it snows
[perldigious]: As long as you are a good "boy scout" stevieb, more power to you... but I like my Jeep, and don't like the idea of rolling it or crashing it in to anything. :-)
[thezip]: Me, not as much.
[perldigious]: Mine too thezip, especially my German Shepherd. He looks like he is about to die of heat exhaustion all summer, so he goes nuts when winter comes and he can play in the snow.
[stevieb]: my main off-road vehicle nowadays is a strengthened mercedes ML320. I'm very hard on it, but I've never had any real issues at all (I love how small and light it is, and it has a very, very good centre of gravity for how I roll)
[perldigious]: "for how I roll"... ahhh, I see what you did there stevieb.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2016-12-06 16:52 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (112 votes). Check out past polls.