Call by binding [was Re: [Tutor] beginning to code]
Antoon Pardon
antoon.pardon at rece.vub.ac.be
Mon Sep 25 06:15:57 EDT 2017
Op 25-09-17 om 11:41 schreef Marko Rauhamaa:
> Antoon Pardon <antoon.pardon at vub.be>:
>
>> the semantics of an assignment depends on the language
> I've only seen one kind of assignment in the general-purpose programming
> languages I know, maybe with the exception of Prolog and Rust.
I disagree. In languages like Pascal an asignment mutates the target that the
left hand refers to, by copying over the value from the right side. In
languages like python an asignment lets the target refer to a new entity.
--
Antoon Pardon.
More information about the Python-list
mailing list