Re: Exceptions . . .

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Aug 03 2007 - 12:09:11 EDT

  • Next message: Kevin Menard: "RE: Exceptions . . ."

    > imagine it's been done this
    > way as a performance benefit,

    No, probably just laziness :-)

    Andrus

    On Aug 3, 2007, at 7:04 PM, Kevin Menard wrote:

    >> -----Original Message-----
    >> From: Mike Kienenberger [mailto:mkienen..mail.com]
    >> Sent: Friday, August 03, 2007 11:59 AM
    >> To: de..ayenne.apache.org
    >> Subject: Re: Exceptions . . .
    >>
    >> In my opinion, it's best to trap the error as soon as possible. As
    >> far as I remember, that's our standard practice, and as we come
    >> across
    >> items like this, we correct them.
    >
    > I may be mistaken, but my experience tracking down some problems in
    > the
    > past couple days indicates that we rarely check that invariants hold
    > true. Instead, things go as far as they can, the exception is caught,
    > wrapped, and sent back up the pipeline. I imagine it's been done this
    > way as a performance benefit, but I'm not sure the overhead would be
    > that great anyway. Comparisons are pretty cheap.
    >
    > --
    > Kevin
    >



    This archive was generated by hypermail 2.0.0 : Fri Aug 03 2007 - 12:09:33 EDT