Program logic bugs vs input/environmental errors
Paolo Invernizzi via Digitalmars-d
digitalmars-d at puremagic.com
Sat Oct 4 01:26:53 PDT 2014
On Saturday, 4 October 2014 at 01:52:41 UTC, ketmar via
Digitalmars-d wrote:
> On Sun, 28 Sep 2014 17:09:57 -0700
> Walter Bright via Digitalmars-d <digitalmars-d at puremagic.com>
> wrote:
>
>> If the program has entered an unknown state, its behavior from
>> then
>> on cannot be predictable.
> and D compiler itself contradicts this principle. why it tries
> to
> "recover" from parsing/compiling errors? it should stop on the
> first
> encountered error and not trying to "recover" itself from
> unknown state.
> hate this. and it's inconsistent with your words.
I think that there's a big confusion about terms: there's nothing
unknown in the parser state when it reach an error in the grammar.
---
/Paolo
More information about the Digitalmars-d
mailing list