> On Sun, Nov 10, 2013 at 8:35 AM, Martin Bähr <
> mba...@email.archlab.tuwien.ac.at> wrote:
> > On Sun, Nov 10, 2013 at 09:09:26PM +0800, David Adam wrote:
> > > I suppose the argument could be made that error handling should be
> > > explicit.
> >
> > hmm, from a programmers perspective, most sensible programming languages
> > crash when there is an error that is not handled.
> >
> > in other words, errors should never be silently ignored.
> > error handling should be explicit, but catching errors without handling
> > them (which fish seems to be doing here) is frowned upon.

Yeah, I agree. Seeing `On Error Resume Next` at the top of VBScript files 
struck fear into the hearts of many sysadmins.

On Sun, 10 Nov 2013, Alex Boisvert wrote:
> I also think ignoring errors should be explicit; the default should be
> exit-on-failure (though I'll understand that it might be too late to change
> due to backward compatibility)

It would definitely have to wait for a new major release of fish, I think.

David Adam
zanc...@ucc.gu.uwa.edu.au
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to