Program logic bugs vs input/environmental errors
eles via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 3 22:19:32 PDT 2014
On Saturday, 4 October 2014 at 05:02:04 UTC, ketmar via
Digitalmars-d wrote:
> On Sat, 04 Oct 2014 04:36:48 +0000
> eles via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
>
>> > sorry. i meant that compiler WILL be in unknown state if it
>> > will
>> > continute to processing invalid source. that's why it should
>> > stop right
>> > after the first error.
>> No. It might produce an invalid product. Just like a real
>> engineer could produce a flawed product on the basis of wrong
>> designs.
> i can't see any sane reason to process garbage data, 'cause
> result is
> known to be garbage too.
The same reason why a schoolteacher will process garbage exam
sheets.
More information about the Digitalmars-d
mailing list