
On Sat, Apr 18, 2020 at 10:23:59AM +1200, Greg Ewing wrote:
On 18/04/20 1:53 am, Steven D'Aprano wrote:
On Sat, Apr 18, 2020 at 12:22:36AM +1200, Greg Ewing wrote:
Here's another idea for the bikeshed:
f(spam, pass eggs, ham)
How is "pass" meaningful here?
It means "pass these things on as they are".
You mean, without changing them in any way? As in a no-op? I don't see how that helps. The first argument `spam` is passed on as it is with no changes. The second argument `eggs` is not passed on as it is, it is converted to keyword form `eggs=eggs` at least semantically, if not in the byte-code.
Think football pass, not quiz show pass.
That analogy doesn't help me, especially since I don't know which game of football you are thinking of (soccer, rugby league, rugby union, Gaelic, Australian Rules, Canadian football, gridiron, I probably missed a few...) so I don't know what the consequences of passing the ball will be. Buf for the two I am familar with, passing the ball doesn't change the ball at all. (Except it's position in space, I guess.) -- Steven