D should disallow forward references

grauzone none at example.net
Tue Aug 25 07:54:49 PDT 2009


Jarrett Billingsley wrote:
> For two, NO.  Disallowing forward references sucks.  It's entirely
> possible to implement a compiler that resolves forward refs correctly.
>  If W doesn't want to do it, that's on him.

I agree; but: I'm just saying that disallowing it would actually be 
better for the programmer, than leaving it half-broken.



More information about the Digitalmars-d mailing list