I hate to barge in on this discussion with something unrelated, but how long
does it take for something to post? I've sent 2 posts in the last 30 minutes
and they are not appearing.  Any idea what I might be doing wrong?

On Wed, Nov 5, 2008 at 2:24 PM, Jeffrey Kretz <[EMAIL PROTECTED]> wrote:

>
> Heh.  I like that -- the Code Jihad.
>
> I agree 100% about failing silently being a BAD THING(tm).
>
> However, our disagreement involves what constitutes a fail.
>
> The only thing we've been trying to say is, an empty result set is only a
> fail under certain circumstances.
>
> To define an empty result set is a fail EVERY TIME is to limit the
> underlying system.
>
> Going back to the SQL analogy -- I have a data layer that performs a delete
> like this:
>
> DELETE FROM Table WHERE PrimaryKey = @KeyValue
> SELECT @RowCount = @@ROWCOUNT
>
> The app that calls the delete function will get a return value of how many
> rows were deleted.
>
> Maybe 0 rows is a fail, maybe it isn't.  It depends on what I'm trying to
> do.
>
> I have a choice to fail the program after the delete.
>
> It would be wrong to require a SQL Exception thrown on every case of 0 rows
> deleted.
>
> Savvy?
> JK
>
>
> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of brian
> Sent: Wednesday, November 05, 2008 11:24 AM
> To: jQuery (English)
> Subject: [jQuery] Re: Can I make jquery not fail silently??
>
>
>
> I have a personal jihad against apps that fail silently.
>
> My jihad listens to no reason.
>
> Sure, they have valid points that make sense from the viewpoints they
> hold.  I don't share their viewpoints.  OK?
>
> Can we lighten up now?
>
>
>
> On Nov 5, 1:13 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
> > That 'religious' bit is a bit offensive don't you think? There are
> > good reasons for failing silently as Mike, Richard and Jeffrey have
> > pointed out. The fact you don't accept/understand them doesn't make
> > their (and mine) opinions less empirical.
> >
> > - ricardo
> >
> > On Nov 5, 5:10 pm, brian <[EMAIL PROTECTED]> wrote:
> >
> > > > Now $('#non-existing-id').fail().toggle() will fail,
> > > > but will work if it's not empty.
> >
> > > That's actually right on the money.  Thanks.
> >
> > > //Still thinks fail silently on id queries is insane, but knows a
> > > religious argument when he sees one.
>
>

Reply via email to