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

Re: Scriptometer: measuring the ease of SOP (Script Oriented Programming) of programming languages



I agree that this kind of nonuniformity, like many kind of nonuniformity,
within a family of related entrypoints, can make it hard for a programmer
to keep track of the contracts of those entrypoints, and that this kind of
thing is particularly egregious when it comes to exceptions since so many
programmers are already sloppy about dealing with exceptional cases.

Bruce Lewis wrote:

>Pixel <pixel@mandrakesoft.com> writes:
>
>>It's again a "Python (everything in its library raise an exception) vs
>>Perl (nothing in its library raise an exception)"
>>
>
>Don't forget Java (everything should raise an exception but some things
>don't).  E.g. File.lastModified() when a file doesn't exist.
>
>