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
> scenarios.
>
> 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
swap procedure.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to