Deutsch   English   Français   Italiano  
<20240816123810.0000420d@yahoo.com>

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

Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
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 12:38:10 +0300
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <20240816123810.0000420d@yahoo.com>
References: <v66eci$2qeee$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>
	<v6ti10$3gru4$1@dont-email.me>
	<v78af7$1qkuf$1@dont-email.me>
	<20240717163457.000067bb@yahoo.com>
	<v78piu$1su4u$1@dont-email.me>
	<86a5hep45h.fsf@linuxsc.com>
	<v9ktep$v5sk$1@dont-email.me>
	<87y14xsvnh.fsf@bsb.me.uk>
	<v9l95b$10ogv$1@dont-email.me>
	<87sev5s51s.fsf@bsb.me.uk>
	<20240816121015.0000579b@yahoo.com>
	<87r0aoesh4.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 16 Aug 2024 11:38:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="486a67b16ca764e353afadddba5edb65";
	logging-data="1468494"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18B/fBIoTpNEUpDqOHCCcDY0nJIU8DshRw="
Cancel-Lock: sha1:nQqhMMwDv/HJN++uecP0CZIuQlA=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
Bytes: 2890

On Fri, 16 Aug 2024 02:18:15 -0700
Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:

> Michael S <already5chosen@yahoo.com> 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?  

Yes!

> 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.
> 

Yes, but it's not baseless.
It is based on following section Go language FAQs that I assumed to be
either authored or approved by KT.
https://go.dev/doc/faq#pass_by_value