useless tips

Dennis Ritchie の page を ときどき check してる人は、今 どのくらい いるんだろう ?
http://www.cs.bell-labs.com/who/dmr/
確かに 歴史文書に 準じるものも 多いし、C の 成立ちを 調べてる人 以外、興味が もてないかも しれない。
でも、C 自体 基本は 変わってないので、ぼくのような 初心者には (英語で 書かれてるのが ちょっと ツライけど) なんだか 役だちそうです。
例えば、以前 この日記でも 紹介した null statement というのが あります ("Ritchie's C reference manual")。 こんなの、

      ;      

A null statement is useful ... to supply a null body to a looping statement such as "while".

なんとなく わかりますね。
また 別の文書では strcopy()*1 の 説明で、ポインタと 配列について こんなことが 書いてある ("Kernighan's tutorial on C")、

The argument to a function, and there only, the declarations
char s[];
char *s;
are equivalent _ a pointer to a type, or an array of unspecified size of that type, are the same thing.

If this all seems mysterious, copy these forms until they become second nature. You don't often need anything more complicated.

う〜ん、そうかも ...
どちらの文書も pdf.file なので download できます。

"C and its immediate ancestors"

・ The version of the C reference manual (31 page)

・ Versions of Kernighan's tutorial on C (24 page)

*1:現在は strcpy