A look at the D programming language by Ferdynand Górski
bearophile
bearophileHUGS at lycos.com
Tue Jan 15 04:09:20 PST 2013
1100110:
> Thats so funny I forgot to laugh.
One common indentation-related bug is caused by relying on the
indentation to understand code, while the curly brace language
compiler ignores what you were seeing and only sees the braces. I
have seen many cases of delayed code understanding caused by
that. Making the syntax more DRY (this means stating the logical
indentation using only one communication channel) helps avoid
those mistakes (and reduces the visual noise, further helping
code readability).
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list