Improving Compiler Error Messages

bearophile bearophileHUGS at lycos.com
Mon May 3 05:17:17 PDT 2010


div0:

> Anybody who's serious about programming needs to learn to touch type.
> The semicolon is right there under your little finger and using it takes
> far less time than trying to remember arbitrary and arcane rules about
> what is the end of a statement.

In my keyboard it's <SHIFT><COMMA>, and regarding rules...
for (int i; i < 10; i++) <= why is semicolon not accepted in D here? (I know the answer)
Newlines and semicolons probably have less rules in Python compared to D :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list