Deutsch   English   Français   Italiano  
<87msmljwqx.fsf@bsb.me.uk>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ben Bacarisse <ben@bsb.me.uk>
Newsgroups: comp.lang.c
Subject: Re: technology discussion =?utf-8?Q?=E2=86=92?= does the world need
 a "new" C ?
Date: Sat, 13 Jul 2024 13:35:02 +0100
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <87msmljwqx.fsf@bsb.me.uk>
References: <v66eci$2qeee$1@dont-email.me> <877cdur1z9.fsf@bsb.me.uk>
	<v6joi4$1epoj$1@dont-email.me> <871q42qy33.fsf@bsb.me.uk>
	<v6k6i0$1h4d3$1@dont-email.me> <87ed82p28y.fsf@bsb.me.uk>
	<v6m03l$1tf05$1@dont-email.me> <87r0c1nzjj.fsf@bsb.me.uk>
	<v6m716$1urj4$1@dont-email.me> <87ikxconq4.fsf@bsb.me.uk>
	<v6n8iu$24af0$1@dont-email.me> <20240711115418.00001cdf@yahoo.com>
	<v6oamt$2d8nn$1@dont-email.me> <v6oct4$2djgq$2@dont-email.me>
	<v6of96$2ekb0$1@dont-email.me> <v6ovfc$2hcpf$1@dont-email.me>
	<v6p4hf$2icph$1@dont-email.me> <v6qgpu$2t6p7$3@dont-email.me>
	<v6r33m$30grj$1@dont-email.me> <20240712154252.00005c2f@yahoo.com>
	<86o7717jj1.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Sat, 13 Jul 2024 14:35:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4e5d3404761aff5fd06f2da3e1d5fb25";
	logging-data="3771049"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/buOronl4oP/dt/Dxr0bgCcB+j9LtIjo4="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:yGiEHhgWX/pJKxvemZh+Sbs6Nxg=
	sha1:QEYeH52aQ3bTelqs4TpYwZbGEfM=
X-BSB-Auth: 1.38d9cbcdfeae5c16a1d5.20240713133502BST.87msmljwqx.fsf@bsb.me.uk
Bytes: 4040

Tim Rentsch <tr.17687@z991.linuxsc.com> writes:

> Michael S <already5chosen@yahoo.com> writes:
>
>> On Fri, 12 Jul 2024 13:12:53 +0200
>> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>
>>> But maybe he has looked up some things, since lately he's squirming
>>> by introducing terms like "_true_ pass-by-reference" [emphasis by me]
>>> obviously trying to bend the semantics of the established technical
>>> "pass-by-reference" term to fit his argument.  (Introducing new terms
>>> for existing mechanisms or bending semantics of existing terms with
>>> well established meaning is certainly not helpful in any way.)
>>>
>>> But, yes, that person is a phenomenon.
>>
>> I don't share your optimistic belief that the term "pass by reference"
>> is really established.  Very few terms in computer science (science?
>> really?) are established firmly.  Except, may be, in more theoretical
>> branches of it.
>
> The terms
>
>    call by name
>    call by value
>    call by reference
>    call by value-result
>
> are all well-defined and firmly established, going back more than
> 60 years.  I learned all of these in standard early course in
> computer science sometime in the early 1970s.  Of course I can't
> be sure about the source after all these years, but I expect
> they were defined in the textbook we were using in the class.
>
> Much later, probably under the influence of people learning
> by reading blogs rather than books, some of these terms were
> expressed as, eg, "pass by value" or "pass by reference".

I think it's reasonable to assume that this change of term was partly
motivated simply by the meaning of the words.  Call by value (to pick
one) is an odd term to use about a parameter and/or argument.  The
function or procedure is called, but the arguments are passed and
subsequently accessed.  Nowadays, sentences like "Specifications of
parameters called by value must be supplied" just feel a bit strange, at
least to me.

Had I been CS King, I would have promulgated the terms "accessed by
value", "accessed by name" and so on since it's the access method that
really what matters to my mind.

> However there is no indication that the change was meant to
> express a different meaning, except insofar as the person(s)
> using the revised terms were confused.

-- 
Ben.