Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: technology discussion =?utf-8?Q?=E2=86=92?= does the world need a "new" C ? Date: Fri, 16 Aug 2024 02:18:15 -0700 Organization: None to speak of Lines: 21 Message-ID: <87r0aoesh4.fsf@nosuchdomain.example.com> References: <20240711115418.00001cdf@yahoo.com> <20240712154252.00005c2f@yahoo.com> <86o7717jj1.fsf@linuxsc.com> <20240717163457.000067bb@yahoo.com> <86a5hep45h.fsf@linuxsc.com> <87y14xsvnh.fsf@bsb.me.uk> <87sev5s51s.fsf@bsb.me.uk> <20240816121015.0000579b@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 16 Aug 2024 11:18:16 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1d04e40206551ed72fc82578ee5a10bf"; logging-data="1461551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Jc72F8yq139a1pYDkxLo2" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:rrM8aZwmisTI54mq/yayFRZs3yc= sha1:8RGnfHVi0D/ocLYtPrxx3j/K0sc= Bytes: 2558 Michael S writes: [...] > IMHO, C++ is a particularly bad example. > Yes, C++ has call-by-reference misfeature. But arrays in C++ are > 2nd class citizen, same as in C. They can't be assigned and can't be > passed to callee, neither by value nor by reference. > > Also, I suspect that if you ask Ken Thompson, he will tell you that C++ > does not really have 'call by reference'. Instead, it has references as > 1st class object, so, naturally, values of references can be used > during 'call by value'. > I have enough of respect to KT to consider that his POV is not a > nonsense. Is that an attempt at proof by authority? Not only does Ken Thompson have very little to do with C++, but you're basing your conclusion on what you *suspect* he would say. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */