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 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: References: <87h6d2uox5.fsf@nosuchdomain.example.com> <20240707164747.258@kylheku.com> <877cdur1z9.fsf@bsb.me.uk> <871q42qy33.fsf@bsb.me.uk> <87ed82p28y.fsf@bsb.me.uk> <87r0c1nzjj.fsf@bsb.me.uk> <87ikxconq4.fsf@bsb.me.uk> <20240711115418.00001cdf@yahoo.com> <20240712154252.00005c2f@yahoo.com> 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: 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