[nem-en] out / ref
Igor Tkachev
it at rsdn.ru
Wed Sep 27 01:35:34 CEST 2006
Hello Ivan,
> I don't like Foo(out _) and Foo(ref _), that will confuse developers absolutely.
I don't think so. Foo(out _)/Foo(ref _) with explicit out/ref is more than clear.
I believe developers will say "Thank you, guys! We love this feature!".
> Also how Foo(ref _) should works in such code:
>
> Foo(ref t : A)
> {
> t.Method();
> }
How it should work in such case?
def a : A = null;
Foo(ref a);
Foo(ref t : A)
{
t.Method();
}
?
--
Best regards,
Igor mailto:it at rsdn.ru
More information about the devel-en
mailing list