Sujet : Re: question about linker
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 07. Dec 2024, 22:58:23
Autres entêtes
Organisation : None to speak of
Message-ID : <87a5d7xiio.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.13 (Gnus v5.13)
Keith Thompson <Keith.S.Thompson+
u@gmail.com> writes:
Bart <bc@freeuk.com> writes:
[...]
Those suggesting that semicolons are unimportant details of syntax in
C are wrong. They can make a significant difference and contribute to
errors:
>
for (i=0; i<n; ++i);
printf("%d\n", i);
>
Nobody has suggested that "semicolons are unimportant details of syntax
in C".
I think I see where you got that false idea. Elsewhere in this thread,
Janis wrote:
Semicolons, really, are not the problem - AFAIR, in *none* of the
languages I was engaged with.
Janis did not say that "semicolons are unimportant details of syntax in
C", nor, as far as I can tell, did anyone else.
If you want to reply to something, I suggest quoting it directly, or at
least summarizing it accurately.
In my experience, semicolons can be confusing for programmers who are
new to programming, or at least new to a language. I remember "missing
semicolon" being a common error when I was a beginner, but I don't
remember it being a real issue any time in the last several decades.
YMMV, of course.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */