lor...@gmail.com,

It has been interesting to watch the Rust community put real effort into
improving the error messages generated by the compiler:

Behind the bluster this is all about changing the format of the message.

Format is important because consistent layout reduces confusion.
Also pointing at the actual token that needs to be fixed can be
very hard.  These days compilers hang onto source code position
info so they can try and get this right.

Syntax error recovery was much better back in the 1960s and 1970 because
job turn around time was so long.

http://shape-of-code.coding-guidelines.com/2010/04/19/brief-history-of-syntax-error-recovery/

When PCs became available compiler error recovery got seriously
worse.

--
Derek M. Jones           Software analysis
tel: +44 (0)1252 520667  blog:shape-of-code.coding-guidelines.com

--
You received this message because you are subscribed to the Google Groups "PPIG 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ppig-discuss+unsubscr...@googlegroups.com.
To post to this group, send an email to ppig-discuss@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to