[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Python or Perl for a Debian maintainance project?



Hi, Julian Mehnle wrote:

>> All of this doesn't change the fact that Perl code actually has to test
>> for errors _all_the_time_ if it wants to be reliable -- it's very easy
>> to overlook exactly the one call which will later bite you.  :-/
> 
> [...] I don't
> see where you are taking that from.  Perl code *doesn't* have to test for
> errors all the time if it uses eval{die()} or Error's try/throw.  And it
> *can* be reliable that way.

I was talking about library code and system calls.

Perl system calls don't die() when they see errors.
Some but not all libraries do, which is even worse because it's
inconsistent.

-- 
Matthias Urlichs




Reply to: