Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c++ Subject: Re: I think references should have been const by default Date: Mon, 25 Apr 2022 07:39:56 -0700 Organization: A noiseless patient Spider Lines: 55 Message-ID: <867d7d8bwj.fsf@linuxsc.com> References: <87bl3d2dx2.fsf@nosuchdomain.example.com> <87r1c71z10.fsf@nosuchdomain.example.com> <86k0hwdjwr.fsf@linuxsc.com> <87lf2bzooo.fsf@nosuchdomain.example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="2b2bd3060d7fb14ae545fc6b32585799"; logging-data="17399"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Xp3TsWpc4k+4B02cn9+ILfITBaiHpcDg=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:3jyH5KJLUAjIBQzjvw4mCFsVOQk= sha1:OEGyRaXKM+fWtUYrQ0KQ7SZedlw= Xref: csiph.com comp.lang.c++:83726 Keith Thompson writes: > Tim Rentsch writes: > >> Keith Thompson writes: >> >>> RacingRabbit@watershipdown.co.uk writes: >>> >>>> On Tue, 26 Oct 2021 10:42:24 -0400 >>>> James Kuyper wrote: >>>> >>>>> On 10/26/21 4:21 AM, RacingRabbit@watershipdown.co.uk wrote: >>>>> >>>>>> On Mon, 25 Oct 2021 10:48:57 -0700 >>>>>> Keith Thompson wrote: >>>>>> >>>>>>> RacingRabbit@watershipdown.co.uk writes: >>>>>>> >>>>>>>> Any attempt to write to a read only program text area will >>>>>>>> result in a crash regardless of the language. It is implicit >>>>>>>> that its read only in C because C also provides the following >>>>>>>> initialisation which places the string (presumably) on the >>>>>>>> heap: >>>>>>>> >>>>>>>> char str[] = "hello world"; >>>>>>> >>>>>>> I suggest that you would benefit more here from asking >>>>>>> questions than from making assertions. >>>>>> >>>>>> I suggest you ease up on being patronising. >>>>> >>>>> You'll get less patronizing responses when you cease displaying >>>>> such an abysmal understanding of C, while believing you >>>>> understand it better than others. >>>> >>>> Says the preening fool. >>> >>> James is not a "preening fool". He's right. >> >> To be fair, sometimes he is one, and sometimes the other. > > To be fair, Tim, shut up. I don't know why you find my comment so objectionable. I was only reporting some observations of past events. I think the same statement applies, to a greater or lesser degree, to most people who post here regularly and who present themselves as speaking authoritatively. It's no big deal. Furthermore, on a number of occasions James has posted comments about me, and not just about my writing but about my character. (Note that my comment was only about his writing, not about him personally, in case that was not evident.) So if you're going to be even handed, it seems like you should also tell him to shut up.