static this sucks, we should deprecate it

BCS none at anon.com
Thu May 28 09:00:43 PDT 2009


Hello Denis,

> On Thu, 28 May 2009 19:44:42 +0400, BCS <none at anon.com> wrote:
> 
>> Hello Steven,
>> 
>>> fails to compile due to the perceived circular dependency, even
>>> though none exists.
>>> 
>> IIRC it compiles, but fails as soon as you run it.
>> 
>>> -Steve
>>> 
> Which is even worse. Walter stated that "silently generating bad code"
> (i.e. code that doesn't work) is a top priority bug.
> 
> I wonder why this design flaw isn't fixed for so long...
> 

It's not silent. It fails loudly, reliably and immediately. The only way 
it can slip thought is if you don't even TRY to run the exe before you ship.





More information about the Digitalmars-d mailing list