Deutsch   English   Français   Italiano  
<vppsdh$34i06$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!eternal-september.org!.POSTED!not-for-mail
From: Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups: comp.lang.c
Subject: Re: Which code style do you prefer the most?
Date: Thu, 27 Feb 2025 14:21:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <vppsdh$34i06$1@dont-email.me>
References: <vpkmq0$21php$1@dont-email.me> <vplhc7$26ur1$3@dont-email.me>
	<87v7swzzl7.fsf@onesoftnet.eu.org> <vpn4qi$2j0hq$1@dont-email.me>
	<vpo20n$2o9ks$1@dont-email.me> <vpo7ec$2ovro$1@dont-email.me>
	<87a5a7k0ko.fsf@onesoftnet.eu.org> <kt_vP.469630$P31.272683@fx48.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 27 Feb 2025 15:21:38 +0100 (CET)
Injection-Info: dont-email.me; posting-host="aca5d22ea984de20c4adf557e425ed1a";
	logging-data="3295238"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19MO4IGHcbERE1wDKbbb1hxODxs62UIkhQ="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
Cancel-Lock: sha1:1DuTubBDUSU3ZVwEwlu/DBYTW7g=
Bytes: 2036

On Thu, 27 Feb 2025 14:16:48 +0000, Scott Lurndal wrote:

> Ar Rakin <rakinar2@onesoftnet.eu.org> writes:
>>bart <bc@freeuk.com> 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, it is standard C line continuation behavior remaining from
> the days of punched cards

and (source code) files with fixed-length records.

> . More useful for strings

and multi-line macros

> and invented prior to the invention of unterminated comments (//).




-- 
Lew Pitcher
"In Skills We Trust"