Bug 4070 and so on

bearophile bearophileHUGS at lycos.com
Sun Apr 11 09:03:29 PDT 2010


Thinking some more about Bug 4070 I can add:

A possible piece of the Zen of D language: Special cases in the language are bad, but sometimes they can be acceptable if they turn a consistent behaviour that can lead to mistakes/bugs into a good compile-time error.

An example of this is disallowing: for(int i;i<10;i++);
Eventually we can collect a short D Zen.

Bye,
bearophile



More information about the Digitalmars-d mailing list