current "ref" args state.
w0rp via Digitalmars-d
digitalmars-d at puremagic.com
Mon May 19 10:26:24 PDT 2014
Explicit or implicit pass by reference at the call site is a
political argument and it is highly subjective. I'm used to the
current state of affairs (due to coming from C++) and I don't see
anything wrong with it. If you can't tell from a function's name
what its going to do with its arguments, something is probably
wrong. If you aren't using const or immutable until it hurts,
something is probably wrong.
More information about the Digitalmars-d
mailing list