"Jeremie Pelletier" <[email protected]> wrote in message news:[email protected]... > Ary Borenszweig Wrote: > > It's especially bad since if you modify the function prototype and change > ref, you have all your calls to update too.
I'd consider that a benefit. If I have a function:
void foo(int x)
{
x += 2;
writefln(x);
}
and change that param to a ref, then I *absolutely* want all my calling code
to raise holy hell about it.
