Sujet : Re: #include
De : mikko.levanto (at) *nospam* iki.fi (Mikko)
Groupes : comp.theoryDate : 24. Mar 2025, 08:21:37
Autres entêtes
Organisation : -
Message-ID : <vrr161$ct8g$1@dont-email.me>
References : 1 2 3
User-Agent : Unison/2.2
On 2025-03-23 09:15:42 +0000, Richard Heathfield said:
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.
That's the way with the standard libraries but modular programming requires
something else.
-- Mikko