Re: Variable declaration and initialisation
On Mon, 16 Jan 2006 17:25:53 +0000, Richard Heathfield wrote:[color=blue]
> Netocrat said:[color=green]
>> On Mon, 16 Jan 2006 15:25:28 +0000, Richard Heathfield wrote:[color=darkred]
>>> Netocrat said:
>>>
>>>> <http://clc-wiki.net/wiki/Basics_Of_The_C _Standard>
>>>
>>> You might want to get someone to look over that in a bit more detail. I
>>> spotted one error, which I've corrected (Kernighan was certainly a
>>> co-author of "The C Programming Language", but could hardly be described
>>> as a creator of the C programming language),[/color]
>>
>> Right, from what I understand Ken Thompson would better fit that title.[/color]
>
> Try "Dennis Ritchie".[/color]
Oh, that goes without saying. I meant that Ken Thompson would better fit
the title of co-creator of C than Brian Kernighan, but rereading what I
wrote I see that it wasn't particularly clear, and as you write below, his
role may not have been as significant as to warrant that title (not having
been there at the time, I won't judge).
[color=blue]
> I suspect dmr had much more input into Unix than kt had into C.
> http://cm.bell-labs.com/cm/cs/who/dmr/chist.html is well worth a read
> (and you might want to cross-refer to it from your site).[/color]
Or you or any other c.l.c.er - it's intended as a group wiki, not a
personal site. But point taken, I'm aware of that article and it deserves
to be linked to from somewhere in the wiki - probably an "external links"
or "historical notes" page.
[color=blue][color=green]
>> Was "K&R" as an unofficial standard defined by more than just the white
>> book though?[/color]
>
> I've heard it told both ways. Ask an old fart.[/color]
I've just found where I first read this. Douglas Gwyn on 2 Nov 2005 in
comp.std.c wrote:
[color=blue]
> K&R(1) Appendix A was one of the main guides to C before there was an
> official standard, but actual implementations of C did not accurately
> follow the spec in that Appendix, and there were several generally
> accepted changes to the language and library beyond what K&R described.
> The AT&T C Reference Manual was considered by many to be more
> authoritative.[/color]
<http://groups.google.c om/group/comp.std.c/msg/0933afffda92e8f 6>
It's not clear from this though whether the "generally accepted changes"
and/or those in the AT&T manual would form part of what we now, looking
back, refer to as "K&R C". I've come across descriptions that seem to
suggest one or more of "DMR's compiler for the pdp-11", "Johnson's PCC"
and "AT&T's compiler" could be thought of as reference implementations .
--
On Mon, 16 Jan 2006 17:25:53 +0000, Richard Heathfield wrote:[color=blue]
> Netocrat said:[color=green]
>> On Mon, 16 Jan 2006 15:25:28 +0000, Richard Heathfield wrote:[color=darkred]
>>> Netocrat said:
>>>
>>>> <http://clc-wiki.net/wiki/Basics_Of_The_C _Standard>
>>>
>>> You might want to get someone to look over that in a bit more detail. I
>>> spotted one error, which I've corrected (Kernighan was certainly a
>>> co-author of "The C Programming Language", but could hardly be described
>>> as a creator of the C programming language),[/color]
>>
>> Right, from what I understand Ken Thompson would better fit that title.[/color]
>
> Try "Dennis Ritchie".[/color]
Oh, that goes without saying. I meant that Ken Thompson would better fit
the title of co-creator of C than Brian Kernighan, but rereading what I
wrote I see that it wasn't particularly clear, and as you write below, his
role may not have been as significant as to warrant that title (not having
been there at the time, I won't judge).
[color=blue]
> I suspect dmr had much more input into Unix than kt had into C.
> http://cm.bell-labs.com/cm/cs/who/dmr/chist.html is well worth a read
> (and you might want to cross-refer to it from your site).[/color]
Or you or any other c.l.c.er - it's intended as a group wiki, not a
personal site. But point taken, I'm aware of that article and it deserves
to be linked to from somewhere in the wiki - probably an "external links"
or "historical notes" page.
[color=blue][color=green]
>> Was "K&R" as an unofficial standard defined by more than just the white
>> book though?[/color]
>
> I've heard it told both ways. Ask an old fart.[/color]
I've just found where I first read this. Douglas Gwyn on 2 Nov 2005 in
comp.std.c wrote:
[color=blue]
> K&R(1) Appendix A was one of the main guides to C before there was an
> official standard, but actual implementations of C did not accurately
> follow the spec in that Appendix, and there were several generally
> accepted changes to the language and library beyond what K&R described.
> The AT&T C Reference Manual was considered by many to be more
> authoritative.[/color]
<http://groups.google.c om/group/comp.std.c/msg/0933afffda92e8f 6>
It's not clear from this though whether the "generally accepted changes"
and/or those in the AT&T manual would form part of what we now, looking
back, refer to as "K&R C". I've come across descriptions that seem to
suggest one or more of "DMR's compiler for the pdp-11", "Johnson's PCC"
and "AT&T's compiler" could be thought of as reference implementations .
--
Comment