Program logic bugs vs input/environmental errors

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 3 21:26:33 PDT 2014


On Sat, 04 Oct 2014 04:10:49 +0000
eles via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> >> Where's the contradiction?  The compilers state hasn't been 
> >> corrupted just because it encounters errors in the text file.
> > but compiler is in unknown state.
> It's not. It just detected that another system would enter in an 
> unknown state if built. The compiler is like the engineer that 
> examines the design of a project and discovers an error on it, so 
> it refuses to build the product. Is the engineer in an unknown 
> state?
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.

> Guessing might not be good, but it is nice effort to do. Do you 
> really miss the super-cryptic C (let's not even talk about C++) 
> error messages that you sometimes receive?
yes. DMD attempts to 'guess' what identifier i mistyped drives me
crazy. just shut up and stop after "unknown identifier", you robot,
don't try to show me your artificial idiocity!
-------------- 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/3c5e55f0/attachment.sig>


More information about the Digitalmars-d mailing list