dmd 1.058 and 2.043 release
bearophile
bearophileHUGS at lycos.com
Fri Apr 9 15:05:29 PDT 2010
Walter Bright:
> The flexibility comes in handy now and then.
OK, I have never felt the need of such extra flexibility in my D programs, so I trust your judgement.
Every time a a semantic hole is left in a language (and this is a little hole), you have to pay a price, in terms for example of:
- less easy to understand error messages (the currently generated error message is not easy to understand and I think it's wrong, because in that program the four names are distinct, there is no duplication);
- less simplicity for the D newbies to learn the language, because to learn something faster you need a strict teacher;
- possible bugs caused by side effects of the semantic hole (because semantic holes often create semantic loopholes).
In Delphi the "main unit" of a program is denoted with for example, at the top:
program Project1;
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list