Official definition of call-by-value (Re: Finding the instance reference...)

Antoon Pardon apardon at forel.vub.ac.be
Tue Nov 18 05:09:24 EST 2008


On 2008-11-12, greg <greg at cosc.canterbury.ac.nz> wrote:
> Steven D'Aprano wrote:
>
>> Why should anyone take the "Revised Report on the Algorithmic Language 
>> Algol 60" as the "official" (only?) definition of call-by-value for all 
>> languages everywhere?
>
> Since the term was more or less invented by the people
> who designed Algol, I thought it would be a good idea to
> find out, from as close to the source as possible, what
> *they* intended it to mean.

But you didn't try to find out their intention. You just took their
words and applied it in a different context. It isn't at all obvious
that placing their words in a context with different assignment
semantics would preserve their intend.

-- 
Antoon Pardon



More information about the Python-list mailing list