[Home]History of C Plus Plus/Talk

HomePage | Recent Changes | Preferences

Revision 14 . . November 13, 2001 6:00 am by Lee Daniel Crocker
Revision 13 . . (edit) November 4, 2001 1:34 pm by Hank Ramsey
  

Difference (from prior major revision) (no other diffs)

Changed: 24c24
Any expression with "C" and "C++" both occurring between sequence points (and comparisons are not sequence points) is officially undefined, which means the compiler is free to do anything at all. That's the nature of C, to leave things up to the compiler. Other expressions with "c++" (by itself) have the value of "c", if that value is used. By itself, it is used only for the side-effect. At any rate, the statement is not only inaccurate, it's totally irrelevant smart-ass nonsense that provides no useful information to the reader about the topic here, so by deleting it we're not deleting "content", because the statement has no content. That absolute undeniable facts are these: C programmers often use the expression "c++", by itself, to increment the variable "c". Stoustrup chose to use this common and useful idiom to name his language. Even if you modified the statement to be accurate, obscure details about particular operator behavior should go into some different article that covers such details. --Lee Daniel Crocker
Any expression with "C" and "C++" both occurring between sequence points (and comparisons are not sequence points) is officially undefined, which means the compiler is free to do anything at all. That's the nature of C, to leave things up to the compiler. Other expressions with "c++" (by itself) have the value of "c", if that value is used. By itself, it is used only for the side-effect. At any rate, the statement is not only inaccurate, it's totally irrelevant smart-ass nonsense that provides no useful information to the reader about the topic here, so by deleting it we're not deleting "content", because the statement has no content. The absolute undeniable facts are these: C programmers often use the expression "c++", by itself, to increment the variable "c". Stoustrup chose to use this common and useful idiom to name his language. Even if you modified the statement to be accurate, obscure details about particular operator behavior should go into some different article that covers such details. --Lee Daniel Crocker

Added: 64a65,67



As it is currently written (some say ++c would have been better...) it is now more accurate and I think better fitting. I suppose a bit of culture isn't out of place, so my earlier "irrelevant" comment is retracted. --LDC

HomePage | Recent Changes | Preferences
Search: