Re: novice: small annoyance
From: Chris \( Val \) (chrisval_at_bigpond.com.au)
Date: 12/18/04
- Next message: Chris \( Val \): "Re: novice: small annoyance"
- Previous message: Alwyn: "Re: novice: small annoyance"
- In reply to: Mike Wahler: "Re: novice: small annoyance"
- Next in thread: Alwyn: "Re: novice: small annoyance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 18 Dec 2004 12:18:38 +1100
"Mike Wahler" <mkwahler@mkwahler.net> wrote in message
news:CpLwd.2240$9j5.2043@newsread3.news.pas.earthlink.net...
|
| "Chris ( Val )" <chrisval@bigpond.com.au> wrote in message
| news:32hdl5F3ln5g3U1@individual.net...
| >
| > "Alwyn" <alwyn@blueyonder.co.uk> wrote in message
| > news:pan.2004.12.18.00.48.59.541001@blueyonder.co.uk...
| > | On Sat, 18 Dec 2004 11:27:38 +1100, Chris ( Val ) wrote:
| > | >
| > | > I would prefer that the programmer had control over what is and what
| > | > is not included, given that it would be easy enough for compilers to
| > | > diagnose what header is missing, should it (rarely :-)) occur.
| > |
| > | We can do a lot better than that these days. Get rid of the
| preprocessor.
| > | Headers are compiled and indexed. No more need for '#include'. When you
| > | use something it doesn't already know about, the compiler looks for it
| and
| > | tries to bring it in.
| >
| > My suggestion was in opposition to:
| >
| > "The alternative is to provide hundreds of headers and expect the
| > programmer to include dozens of them for even a simple program"
| >
| > ...written by Francis.
| >
| > Your suggestion is of course an ideal one, if it could be
| > implemented into the language proper without too much headache.
|
| But imo headers don't belong as part of the language proper.
| They declare library entities.
To be honest, I didn't really think about it too much, because
I am admittedly fully unaware of what the ramifications of this
approach might be - that's why I said "if it could be...".
I take your point though :-)
| While not 'perfect', I find the existing state of affairs
| concerning standard headers to be quite usable.
So do I - It's just that I think the 'C' rules are better,
in that there is no ambiguity about what is or needs to be
included.
Cheers.
Chris Val
- Next message: Chris \( Val \): "Re: novice: small annoyance"
- Previous message: Alwyn: "Re: novice: small annoyance"
- In reply to: Mike Wahler: "Re: novice: small annoyance"
- Next in thread: Alwyn: "Re: novice: small annoyance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|