null [re: spec#]

so so at so.do
Sun Nov 7 23:04:02 PST 2010


> I think I figured out what you meant. When I said "C# got it right", you
> thought I was talking about how C# doesn't allow any "int x = void;"
> whatsoever, right? That's not what I meant. I was talking about how C#
> issues a compile-time error whenever a variable is read before it's
> guaranteed to have been written (at least for local vars, I don't  
> remember
> how it handles member vars).

That too, and i am having hard time understanding the other as well, that  
i thought you mean "int x;" can cause bugs but not "int x=0;"
and compiler should track "int x;"

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list