Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Richard Heathfield Newsgroups: comp.lang.c Subject: Re: Which code style do you prefer the most? Date: Fri, 28 Feb 2025 10:24:19 +0000 Organization: Fix this later Lines: 36 Message-ID: References: <87v7swzzl7.fsf@onesoftnet.eu.org> <87a5a7k0ko.fsf@onesoftnet.eu.org> <8734fzozd2.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 28 Feb 2025 11:24:20 +0100 (CET) Injection-Info: dont-email.me; posting-host="b3ab62654f8458be27761a07526b32af"; logging-data="3808322"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ogf1xBffZjYaxT1fdElsZVnZkHaMBEdhPxA7/dFXLgg==" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:PlOkL/fvWCU8G3TggQT8nIaHZek= In-Reply-To: Content-Language: en-GB Bytes: 2539 On 28/02/2025 09:22, David Brown wrote: > On 27/02/2025 22:24, Keith Thompson wrote: >> Richard Heathfield writes: >>> On 27/02/2025 12:56, Ar Rakin wrote: >>>> bart writes: >>>> >>>>> // isn't devoid of quirks (this is still C after all), for >>>>> example: >>>>> >>>>>      fopen(file,"rb");   // open file in \windows\system32\ >>>>>      fread(...); >>>>> >>>>> Here, the // line continues onto the next, so that the fread is >>>>> commented out. But they are fewer. >>>> Interesting. Isn't this considered a compiler bug? >>> >>> No. Line splicing occurs in Translation Phase 2. Comment removal >>> doesn't happen until Translation Phase3. If a compiler >>> /didn't/ splice >>> those lines, /that/ would be a bug. >> >> Long time no see.  Welcome back! >> > > As long as it's not "Long time no C" :-) I'm afraid it is. Nowadays I spend most of my time arguing with \LaTeX, although when I do cut code it is in C (and that's proper C, of course, not this newfangled gibberish). -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within