Deutsch English Français Italiano |
<vd7bfd$t3v2$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!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, 28 Sep 2024 00:26:51 +0200 Organization: A noiseless patient Spider Lines: 30 Message-ID: <vd7bfd$t3v2$1@dont-email.me> References: <v66eci$2qeee$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> <v6r3iv$30gru$1@dont-email.me> <20240712045301.394@kylheku.com> <87sewesg89.fsf@nosuchdomain.example.com> <865xresvxz.fsf@linuxsc.com> <87h6ay3jaz.fsf@nosuchdomain.example.com> <87mskqtip3.fsf@bsb.me.uk> <8634m0ccjc.fsf@linuxsc.com> <87zfo7rija.fsf@nosuchdomain.example.com> <867cay74m4.fsf@linuxsc.com> <87r095sosv.fsf@nosuchdomain.example.com> <87ikugsta9.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 28 Sep 2024 00:26:54 +0200 (CEST) Injection-Info: dont-email.me; posting-host="eed95ed8ac0b3a88d4d829a4a17400af"; logging-data="954338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CTdhZjU3GyoincMhPUv7k" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:QK3GUXk+YrG/IMBjOUYJcz8y9Rc= In-Reply-To: <87ikugsta9.fsf@nosuchdomain.example.com> X-Enigmail-Draft-Status: N1110 Bytes: 2960 On 27.09.2024 23:03, Keith Thompson wrote: > [...] > > In the function call, there are two different argument passing > mechanisms, but only one *call*. The call itself is not by > value or by reference. The call includes passing two arguments, > one by value and one by reference. This is one reason I don't > think it makes sense to use "call by" rather than "pass by" > for arguments/parameters. (In Algol 60 terms, parameters were > "called", so that terminology made sense.) Just note that in Simula - which has Algol 60 as [small] subset - the couple books I have also speak about "passing" parameters, or speak about associating actual parameters to the formal ones; depending on what abstraction level they formulate. > > The "call by name" semantics turned out to be more complicated > than expected, It's also inefficient (and it shows some IMO undesired effects). > and as far as I can tell was never adopted by any > language other than Algol 60. Yes; Simula inherited that mechanism; it has 'value', 'name' (and also, for objects of class T types, 'ref(T)'). Janis