4 ms·
> There is no such language as C/C++. I was language-lawyering in the comp.lang.c newsgroup in the 1990's and early 2000's. That bit come up from time to time
by kazinator 7y ago
> There is no such language as C/C++.
I was language-lawyering in the comp.lang.c newsgroup in the 1990's and early 2000's.
That bit come up from time to time: "hey you stupid, there is no such language as c/c++!" I participated in that myself, sadly.
Most of the time, it wasn't what the person meant (that there is such a language). Just that they are looking for a solution in either C or C++ or whatever.
(In fact, there is a language that could be plausibly be called "C/C++": useful programs can be written that compile as either C or C++. The easiest way to code that way is to stick to the C90 dialect, and avoid the few C++ incompatibilities that it has. I have considerable experience in this area, that is ongoing.)
In this case, the generator can perhaps be used for C, if C++ features are avoided, so it means C or C++. Just like "if/when" or "he/she".
HN guideline: Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.
- ncmncm 7y agoI stick to the fact. Generally when people use the expression, it is because they have not thought about the meaning, and thinking it through leads them to one of several, more specific, alternatives that the reader could not reliably have chosen correctly among. It is always better to write what you mean, and not make people guess.