Contextualizing keywords

Nick Sabalausky a at a.a
Sun Aug 2 21:43:49 PDT 2009


"Jarrett Billingsley" <jarrett.billingsley at gmail.com> wrote in message 
news:mailman.272.1249267359.14071.digitalmars-d at puremagic.com...
>
I've often wondered about how useful parser recovery really is.  Most
of the time, parsing errors after the first are complete bull anyway,
so the compiler's just filling up my console with garbage.
<

Frequently, yes, but I find that getting numerous *real* errors from one 
compile is also a frequent occurrance - and a real time saver. I get really 
annoyed when I get into a 5-10 iteration cycle of "fix the one reported 
error, recompile, get one more error, fix that, etc..."

> If you
combine that with the fact that recompiles are extremely cheap with D
and modern machines,
<

That actual recompile is often (though not always) short, but the total 
programmer time is much higher. I find that the whole process goes *much* 
faster overall when I do get a bunch of real errors at once than when I just 
get one at a time. 





More information about the Digitalmars-d mailing list