About the PS
I flagged the (first comment in the) comment chain with an 'Other' flag and said:
In this comment chain, there's a huge debate about C vs C++ vs C and C++ which is frankly not very constructive. Many of the comments below could be removed as 'not constructive'.
This was accepted as helpful. I'm guessing my flag is what triggered the clean-up; someone else could've done something similar. I've done similar flagging exercises before on occasion.
A key point to note is that my flag comment explains what needs to be done. Simply flagging one of the comments as 'not constructive' won't get the whole chain reviewed; the moderator will look at the one comment, decide what to do about it in isolation, and move on to the next item in their overloaded queue. Ditto for any other flag that doesn't take an explanation. If you think there's more than one comment to be processed, you must use 'other' and explain your thinking succinctly.
If (when) you see a similar set of competing rants in progress, you should do something similar — flag for moderator attention, explain the problem, and (having lighted the blue touch paper) stand well back and let the experts deal with the mess.
About dual-tagging questions with C and C++ tags
I'm not taking sides in the 'should this specific question carry both the c and c++ tags' — that's how comment wars break out. The question currently has neither language tag; that's not ideal but it is better than a war.
I stand by my original edit that removed the c++ tag; at that time, the question made no reference to C++ and explicitly included C (only) in the title — it was a question about C and the c tag (only) was appropriate. The OP then changed the question to refer to both languages and tagged it with both tags once more, launching the war.
In general, I prefer questions that are tagged with only one of the two languages, C or C++ but not both, unless the question is explicitly addressing the interworking of C and C++. It's a bit of a moot point whether this is asking about the interworking of C and C++ — I'd argue "No", but the OP gets some say in these issues (as does the community).
If a question is dual-tagged and has any feature in the code that is distinctively only C++ (#include <iostream>
, using namespace std;
, cout <<
, or similar), then the C tag should be removed; it is about C++, not C. Common mistakes like: typedef struct Something { …; Something *next; } Something;
are tricky — the code only compiles in C++ unless there was already a type Something
defined (in which case, there are bigger problems to deal with). However, I'd not automatically say "it must be C++" because of this.
If the code is about the C-compatible subset of C++, I think the C++ tag should be removed (and that fits this question — I'd prefer it to be tagged with only C, with the question content about C++ removed). But there isn't much point in a huge fight about it. It's better to let others do the fighting and simply get on with the rest of your life. There are more important things to worry about than which combination of C and C++ tags is OK on a question.
because I am afraid of him
made me laugh