Program logic bugs vs input/environmental errors

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 4 01:50:31 PDT 2014


On Sat, 04 Oct 2014 08:26:53 +0000
Paolo Invernizzi via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> 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.
just like nothing unknown in program state when it gets garbage input.
yet there is no sense in processing garbage input to produce garbage
output. the best thing the program can do is to complain and shut down
(if this is not a special recovery program which tries to get all
possible bits of info).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141004/07b29dc1/attachment.sig>


More information about the Digitalmars-d mailing list