[Info-vax] Unexpected error using ZIP for OpenVMS

Paul Sture paul at sture.ch
Thu Dec 22 08:10:05 EST 2011


On Wed, 21 Dec 2011 18:28:55 -0800, AEF wrote:

> On Dec 20, 11:56 pm, Steven Schweda <sms.antin... at gmail.com> wrote:
>>
>>    Huh?  Why would the user expect that he was making a
>> typing error, or that his file was corrupted?
> 
> Well, I didn't think of that possibility. Yeah, I don't suppose a user
> would not expect to make a typing mistake at a particular time, but you
> do have to assume you'd make typing mistakes _some_ of the time.

>From the programming point of view, any invalid user input is an 
*expected error* (and nowadays with web attacks must be assumed to be 
potentially malicious).

An *unexpected error* from the programming point of view is usually 
caused by a hardware fault or human error (disk getting full). And as 
Philip Helbig pointed out with his "Shouldn't get here" example, it can 
be a programming logic error.

-- 
Paul Sture



More information about the Info-vax mailing list