Re: #include

Liste des GroupesRevenir à theory 
Sujet : Re: #include
De : richard (at) *nospam* damon-family.org (Richard Damon)
Groupes : comp.theory
Date : 23. Mar 2025, 12:08:06
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <a3f7681ce5fa05821aa7d4a80579a01079a9061e@i2pn2.org>
References : 1 2 3
User-Agent : Mozilla Thunderbird
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.

Date Sujet#  Auteur
23 Mar 25 * Re: #include6Mikko
23 Mar 25 +* Re: #include4Richard Heathfield
23 Mar 25 i+* Re: #include2Richard Damon
23 Mar 25 ii`- Re: #include1Richard Heathfield
24 Mar 25 i`- Re: #include1Mikko
23 Mar 25 `- Re: #include1Richard Damon

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal