Liste des Groupes | Revenir à cl c |
Tim Rentsch <tr.17687@z991.linuxsc.com> writes:>
[ snip nice write-up ]
I honestly do not understand the argument you're making in favor of
"call by" over "pass by". ("Hoi polloi"? Seriously?)
Procedures and functions are "called", yes? They're not "passed",
except perhaps as an argument to another procedure or function.
Arguments to procedures and functions are "passed", yes? Would it make
sense to say that an argument is "called"? (I note that the Algol 60
report never refers to parameters being "called" other than in the
phrases "call by value" and "call by name".)
If you think that "calling an argument" or "calling a parameter" makes
sense, perhaps that's the root of the disagreement. Do you?
[ snip example and associated explanation ]
Other than historical precedent from Algol and friends, why do you think
it's better to use "call by value" and "call by reference" rather than
"pass by value" and "pass by reference", when the mechanism applies
individually to each argument, not to the call as a whole?
Do you object to using the word "pass" (without "by ...") to refer to
the arguments to a function? If not, why do you object to "pass by ..."
to refer to the mechanism?
Les messages affichés proviennent d'usenet.