Sujet : Re: Baby X is bor nagain
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 21. Jun 2024, 22:05:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v54pu3$3bas6$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Mozilla Thunderbird
On 21/06/2024 14:51, David Brown wrote:
On 21/06/2024 15:25, bart wrote:
(Which is why I think they should just be included anyway.)
That would be a terrible idea for many reasons.
Such as? It can't be compilation time, since headers ten times the size or more apparently instantly.
One delight in using my language is that its standard library is always available. But if you don't want it, it can be disabled. With C I spend a big chunk of my time writing include lines.
First I need stdio. Then string. Then stdlib. Then there's always ones I can't quite remember.
Or I need to debug someone's code, and it needs stdio to define 'printf', FFS. Would the world stop turning if it was just available?
I just don't believe that things defined in the headers need to be micro-managed to that extent, most of the time.