Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: do { quit; } else { } Date: Wed, 09 Apr 2025 12:50:25 -0700 Organization: A noiseless patient Spider Lines: 31 Message-ID: <86a58pcdxa.fsf@linuxsc.com> References: <8634enhcui.fsf@linuxsc.com> <86ldsdfocs.fsf@linuxsc.com> <20250406161323.00005809@yahoo.com> <86ecy5fjin.fsf@linuxsc.com> <20250406190321.000001dc@yahoo.com> <86plhodtsw.fsf@linuxsc.com> <20250407210248.00006457@yahoo.com> <20250409142303.00004645@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Wed, 09 Apr 2025 21:50:28 +0200 (CEST) Injection-Info: dont-email.me; posting-host="b047b0586914e6e160c0016b929ac37f"; logging-data="1407645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+htgcRJC4kIJX9tjqvVadi7k7H7snn5BA=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:/COWbpZdp5vHmbVJXwNCHSgCk+4= sha1:ZLy2wHddgVh/auxfhzZMm+tHAjo= Bytes: 2564 Michael S writes: > On Wed, 9 Apr 2025 12:58:08 +0200 > Janis Papanagnou wrote: > >> On 09.04.2025 11:42, David Brown wrote: >> >>> On 08/04/2025 18:28, bart wrote: >>> >>>> [...] >>> >>> I believe the meaning of "extern" in combination with other >>> storage-class specifiers was picked to work with existing old code >>> from before "extern" was added to the language. >> >> Assuming you mean the "C" language I don't quite understand the last >> part of the sentence. Wasn't 'extern' already in "K&R" - so what was >> "the language" before the addition of 'extern'? >> >> Or did you just mean to say "[...] before _combinations_ of 'extern' >> and other storage-class specifier were added to the language." >> >> Janis, puzzled > > K&R was published in 1978, 5 years after C got its first users. > Back in 1973-74 C language was significantly different from what it > became few years later. I haven't made any effort to verify this, but I would be surprised to learn that 'extern' was not part of C well before K&R.