Deutsch   English   Français   Italiano  
<a3f7681ce5fa05821aa7d4a80579a01079a9061e@i2pn2.org>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Richard Damon <richard@damon-family.org>
Newsgroups: comp.theory
Subject: Re: #include
Date: Sun, 23 Mar 2025 07:08:06 -0400
Organization: i2pn2 (i2pn.org)
Message-ID: <a3f7681ce5fa05821aa7d4a80579a01079a9061e@i2pn2.org>
References: <t7DDP.136706$C61.55739@fx03.ams4> <vroi8b$20u2j$1@dont-email.me>
 <vrojfu$1ut0v$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 23 Mar 2025 11:08:07 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="1401510"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="diqKR1lalukngNWEqoq9/uFtbkm5U+w3w6FQ0yesrXg";
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <vrojfu$1ut0v$3@dont-email.me>
Bytes: 1860
Lines: 20

On 3/23/25 5:15 AM, Richard Heathfield wrote:
> On 23/03/2025 08:54, Mikko wrote:
> 
> <snip>
> 
>> Some languages use include to compensate the lack of some
>> better features for the same purpose. languages that have
>> those better features don't need include and usually haven't.
> 
> If I were a Ritchie (pace, Tevye, there is no music), the VERY FIRST 
> TIME a compilation failed because I forgot a header I'd have merged all 
> the headers into one and then hardcoded that one everything.h header 
> into the compiler itself. Problem... SOLVED.
> 

Doesn't work for user includes.

Yes, we could have the compiler auto include all the standard headers, 
but then we lose the ability to improve the backwards compatibility of 
standards that require the inclusion of a new header to enable new nice 
symbols for new features that used to be available to the user to use.