www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Bug 4070 and so on

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.

Apr 11 2010