Re: Python or Perl for a Debian maintainance project?
On Thu, Feb 19, 2004 at 08:48:24PM +0000, Andrew Suffield wrote:
> On Thu, Feb 19, 2004 at 12:40:19PM -0800, Matt Zimmerman wrote:
> > On Thu, Feb 19, 2004 at 08:35:05PM +0000, Andrew Suffield wrote:
> > > The only way to get shorter is to not handle the errors - which is the
> > > norm in python.
> > This is a weak argument against exceptions (and/or python) for the same
> > reasons that "this bit of Perl is a mess" is a weak argument against Perl.
> It's not an argument against exceptions. Check the context.
> Exceptions should only be used for exceptional circumstances, and even
> then think twice. The single thing for which they are useful is [...]
> This is not often useful - library APIs are the most notable case. Using
> exceptions in any other circumstances is usually a really bad idea.
Message-id: <[🔎] 20040217165810.GA3932@suffields.me.uk>
In summary, "Using exceptions is usually a really bad idea except in this
one circumstance, which is not often useful."
Fine, granted. You're arguing against USING exceptions, not their mere