Deutsch   English   Français   Italiano  
<v6tjvm$3htha$1@dont-email.me>

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

Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: =?UTF-8?Q?Re:_technology_discussion_=e2=86=92_does_the_world_need_a?=
 =?UTF-8?Q?_=22new=22_C_=3f?=
Date: Sat, 13 Jul 2024 12:13:09 +0200
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <v6tjvm$3htha$1@dont-email.me>
References: <v66eci$2qeee$1@dont-email.me>
 <87h6d2uox5.fsf@nosuchdomain.example.com> <v6d779$6rk5$2@dont-email.me>
 <v6e76u$c0i9$1@dont-email.me> <v6esqm$fian$2@dont-email.me>
 <v6f7vg$hgam$1@dont-email.me> <20240707164747.258@kylheku.com>
 <v6gl83$s72a$1@dont-email.me> <v6h8ao$ur1v$1@dont-email.me>
 <v6jhk3$1drd6$1@dont-email.me> <v6jiud$1dsjb$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> <v6rfh0$32lo7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 Jul 2024 12:13:11 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7a53c9751894591e545e12eb0859c4c4";
	logging-data="3733034"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+PUJ1Vo30j4pbxpdcinn7+"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:ytz3Ct053Vj/zuWzvEmf4kDSbBM=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <v6rfh0$32lo7$1@dont-email.me>
Bytes: 3696

On 12.07.2024 16:44, bart wrote:
> 
> Pass-by-reference can mean almost anything. Many languages and their
> implementations are too diverse for it to have a precise meaning.

The language diversity has nothing to do with the comparably small
set of parameter passing mechanisms. There's thousands of existing
languages but only a handful of parameter passing mechanisms that
are used. (I posted a link recently; have you inspected it before
writing your post?)

And "pass-by-reference" or "call-by-reference" can not mean "almost
anything"; they describe a principle way how parameters are passed
by reference.

What you probably mean is that a colloquial "reference" (a homonym)
may have more than one meaning and interpretation. - Luckily in CS
folks try to strive for unambiguity.

There's concrete variants of parameter passing mechanisms in one
way or another, but that doesn't make "by reference" mean something
different. It's still precise enough. YMMV

> 
> All you might assume about pass-by-reference is that the data you're
> accessing has not been passed by value!

This is an odd formulation, but here you're actually now speaking
about the concrete parameter passing mechanism. Any you are right
that pass "by reference" is different from pass "by value", but
that's not all I "might assume". The "by reference" model forms
a quite concrete image in my mind that is reflected by the CS
literature I read in the past decades.

> 
> In Python [...]
> 
> I don't consider that [...]
> 
> My dynamic language allows [...]

Thanks.

Janis