Re:C/C++ Pointer Declaration Syntax – It makes sense
by eru on Thursday February 23, 2012 @06:51AM
(#3624589)
var obj = new SomeType();
obj = GetSomeType();
You could almost be tempted to write an automatic converter to
var obj = GetSomeType();
but you can't in general, because you don't know whether `new SomeType()' doesn't have side-effects. But if it has some that are relied on, that's probably a bug.
I know that there's a free .net runtime called Mono. What about the compiler side of free C#?
I know that there's a free .net runtime called Mono. What about the compiler side of free C#?