From: Robert Dober Date: 2007-01-28T04:02:40+09:00 Subject: Re: pass by reference? ------=_Part_58376_31181436.1169924557227 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 1/27/07, dblack@wobblini.net wrote: > > Hi-- > > On Sun, 28 Jan 2007, Wolfgang N=E1dasi-Donner wrote: > > > dblack@wobblini.net schrieb: > > > >> Right -- I take that as the starting point -- but what I mean is that > >> the way the assignment/rebinding semantics work doesn't necessarily > >> pertain to the reference/value question. > > > > I agree. reference/value came from the world before talking about > objects. I > > remember in Algol60 somehow the wording "after 'integer i;' the variabl= e > 'i > > IS an integer". > > > > We would never say that after writing "s =3D 'A Ruby String object'" th= e > > variable 's' IS a String object - it gives a name for a special String > > object, or references a special String object (see 1). > > There's also the distinction between references and immediate > values... though as Robert K. said, most of the differences are > hidden from the programmer (like, there's no extra level of > indirection you have to explicitly do). > > > Wolfgang N=E1dasi-Donner > > > > (1): This wording is is used from a German, who tries to find out the > best > > English word for what in German will be called "benennt", or > "bezeichnet". I > > don't know what wording is really good in English. > > I think "betoken" is probably the closest etymologically to > "bezeichnen", but it's more archaic-sounding. "Designate" might be a > good match. (This is why we end up doing things like using > "reference" as a verb :-) Designated is just fine, I do not know the verb betoken. However I do not necessarily agree with the post, still thinking... Robert > --=20 "The best way to predict the future is to invent it." - Alan Kay ------=_Part_58376_31181436.1169924557227--