I'm wrong or Will we fix the ducks limp?
antoon.pardon at rece.vub.ac.be
Thu Jun 9 07:08:32 EDT 2016
Op 09-06-16 om 12:48 schreef BartC:
> What does it matter?
> If swap() can be implemented via such a function, then it means that
> the language has such capability, which can be useful in different
> If it can't, then the language hasn't.
> Python doesn't have it so it can't implement swap like that.
> There's no need to bring references into it at all.
Whether a language can implement a swap procedure like that is
not the same question as whether the language variables are
references or not.
Since the topic was whether or not python has reference variables,
is seems there is no need to bring this swap procedure into it at all,
instead of turning it around and pretending it was about the
More information about the Python-list