Sujet : Re: Top 10 most common hard skills listed on resumes...
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 09. Sep 2024, 13:21:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbmp83$2dc4t$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
User-Agent : Mozilla Thunderbird
On 9/9/24 07:06, David Brown wrote:
On 09/09/2024 13:03, James Kuyper wrote:
On 9/9/24 04:46, David Brown wrote:
On 08/09/2024 16:37, Janis Papanagnou wrote:
On 08.09.2024 16:12, James Kuyper wrote:
...
Most important for my purposes, it makes it clear
what's required and allowed by the standard.
>
No, that is not really true - the C standard is /not/ clear on all
points. There are aspects of the language that you cannot fully
understand without cross-referencing between many different sections
(and there are a few aspects that are not clear even then). That is
because it is a standard, not a tutorial, and not a language reference.
A standard is written in more "legalise" language, and makes a point of
trying to avoid repeating itself - while a good reference will repeat
the same information multiple times in different places, whenever it
helps for clarity.
>
I will concede your point, but it's still the case that the standard is
clearer about such things than any other source I'm familiar with.
I have lost track of which particular "such things" we are talking about
here, so you could well be right!
I was talking about "... what's required and allowed by the standard ...".
The standard /is/ clear on some aspects of C - but not on others. I
don't dispute that it is a useful document and one that serious C
programmers should aspire to read, but I don't think it is really aimed
at "normal" C programmers or useful to them. Perhaps the original
writers did not envisage so many non-experts getting involved in C coding.
I will concede that there's many aspects of C that's it's less than
clear about - but I'm unaware of any other document that's clearer about
those aspects. I don't see how there can be - if the standard isn't
clear about something, there's no way to be sure what the "truth" behind
the lack of clarity is, so it's not possible for some other document to
clarify it. Exception: if a DR has been filed, and the committee has
responded with a clarification, but has not yet updated the standard
accordingly, the DR resolution is a document that's clearer than the
standard on that issue, and just as authoritative.
Other documents can say things like "... the standard isn't clear about
this, but you can count on all real-world implementations to do ...".
But when it's a question about "... what's required and allowed by the
standard ...", such alternatives are irrelevant.
Somewhat trickier are the cases where some other document says "... the
standard says X, but that doesn't make any sense. It's clear that they
actually meant Y, and you can just write your code accordingly." Tim
Rentsch is a prolific source of such comments. From what I've seen, when
people have written such things, and the committee later resolved the
issue, they often did not resolve it in the expected way.