
April 17, 2020
2:01 p.m.
On Fri, Apr 17, 2020 at 11:59 PM Steven D'Aprano <steve@pearwood.info> 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? To me this looks like a choice of a random keyword:
f(spam, import eggs, ham)
I don't see the link between a keyword that means "do nothing" and a feature that means "swap parameters to keyword-self-assignment mode".
Oh but Steven, Steven, Steven, how can you pass up an opportunity to reignite the fires of "pass by value" and "pass by reference"? This is CLEARLY the way to represent pass-by-reference where the reference is to a mythical value... ChrisA