Timeline for Proposed update to C and C++ tag usage wikis
Current License: CC BY-SA 4.0
36 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 2, 2018 at 8:51 | vote | accept | Lundin | ||
Oct 2, 2018 at 8:51 | answer | added | Lundin | timeline score: 2 | |
Oct 2, 2018 at 8:37 | history | edited | Lundin | CC BY-SA 4.0 |
This is now community wiki so there's no longer any point to keep edit history in the post itself. The question isn't 'owned' by me. I have updated C and C++ tag usage with a bullet that was somehow forgotten, as per this meta: https://meta.stackoverflow.com/questions/373655/c-tag-usage-radical-chan
|
Sep 28, 2018 at 14:56 | history | made wiki | Post Made Community Wiki by Brad LarsonMod | ||
Sep 28, 2018 at 6:43 | history | edited | Lundin | CC BY-SA 4.0 |
deleted 2 characters in body
|
Sep 28, 2018 at 0:44 | answer | added | Jonathan Leffler | timeline score: 3 | |
Sep 27, 2018 at 13:05 | history | edited | Lundin | CC BY-SA 4.0 |
deleted 42 characters in body
|
Sep 27, 2018 at 12:50 | history | edited | Lundin | CC BY-SA 4.0 |
Changes after community feedback. All generic advise for how to post any SO question will be removed.
|
Sep 25, 2018 at 21:23 | history | edited | Lundin | CC BY-SA 4.0 |
Updated as per suggestions in comments.
|
Sep 25, 2018 at 21:15 | comment | added | Lundin | Lets not argue over which is more correct: c89 or c90 (or c17/c18 for that matter). The c89 and c90 tags are indeed synonymous. The C tag wiki already points at this old answer of mine: stackoverflow.com/a/17209532/584518 if someone wonders about the difference. If we really need to have that debate, I suggest to start a separate meta thread. | |
Sep 25, 2018 at 21:11 | answer | added | Lundin | timeline score: 4 | |
Sep 25, 2018 at 21:11 | history | rollback | Lundin |
Rollback to Revision 1
|
|
Sep 25, 2018 at 13:09 | comment | added | Lundin | Also, as is often the case: the languages could have an identical feature, but there exists a different, preferred way to do it in C++. | |
Sep 25, 2018 at 13:09 | comment | added | Lundin | Even though C and C++ are different and often incompatible languages, there is a large part which is the same in both languages. However, as noted over and over, making the call if something is identical in both languages requires in-depth expertise in both languages. A person who does not have such knowledge, be it the OP or a moderating user, should not make the cross-tag call. In case of the OP, they simply have to settle for one language or ask two questions. | |
Sep 25, 2018 at 13:03 | comment | added | Lundin | We should not pick C++ questions as a dupe for C - that's pretty much de facto policy even though I'm not sure if we have a meta thread about it. The other way around can be appropriate if the answer is the same in C and C++. | |
Sep 25, 2018 at 12:55 | comment | added | François Andrieux | It seems the alternative would be to have separate answers for c and c++. But when the answers are truly identical, they are by definition duplicate. Are distinct tags enough to warrant keeping both? Otherwise, maybe the solution would be to have flag-post duplicate questions tagged c++ linking to the c variant of the question. I'm not sure what site policy is on this, I feel there probably are some. The more I think about it the more I can appreciate the guideline, but I feel it would be detrimental to c++ users to simply not have the tag present on truly relevant questions. | |
Sep 25, 2018 at 12:40 | comment | added | Lundin | I think if a C answer is interesting to C++ developers, the proper solution is for C++ devs to read & follow the C tag. Looking at other highly up-voted, canonical posts like Undefined, unspecified and implementation-defined behavior, this question has literally been hijacked by C++ users. The original question was tagged C. This is unfortunate, because the C, C++ and C++-FAQ meta tag chews up 3 out of 5 tag slots that could be used for more meaningful and appropriate tags. | |
Sep 25, 2018 at 12:35 | comment | added | Lundin | @FrançoisAndrieux We might need to add a note about not using these policies to moderate older questions, since that would cause more harm than good. The example you link contains code written in C++. And then someone added a valid expert comment: "Just to be picky, these two code snippets are not equivalent due to potentially overlapping pointers. C99 has the restrict keyword for such situations." Meaning that the answer could potentially be different in C and C++, since C99 could possibly optimize the code better. It's often not an obvious call when to keep both tags, even for experts. | |
Sep 25, 2018 at 12:14 | comment | added | François Andrieux | I don't disagree with the "questions with code that could be either language." guideline in principal, but it feels too broad or perhaps there is missing another guideline regarding questions about fundamental concepts that belong to the common core of c and c++, like the questions linked above. | |
Sep 25, 2018 at 12:08 | comment | added | François Andrieux | And this question is the fourth most upvoted c question, despite having c++ code in the question. I'm not sure what to make of it with these guidelines. | |
Sep 25, 2018 at 12:07 | comment | added | François Andrieux |
About the part that says "questions with code that could be either language." being marked with only the c tag. I think I understand the motivation. But I see a problem with questions where the answer is the same for both languages and which may be of interest to developers using either one. For example, this popular c question can also be very useful for c++ developers. Removing the c++ tag may make it harder to find for those users.
|
|
Sep 21, 2018 at 9:22 | comment | added | derM | I think, since few people read tag wikis and fewer read edit logs, if the reason for a tag change is that official - it might be a good thing to promote reading the tag wiki, by dropping a comment, pointing to the tag wiki. | |
Sep 21, 2018 at 8:33 | comment | added | Lundin | @Luuklag It's more about agreeing over a policy and then document it somewhere. It's a whole lot better than hearsay and various users personal opinions, which is mostly how issues like these are moderated currently. | |
Sep 21, 2018 at 7:25 | comment | added | Luuklag | Good thing the communities of C and C++ take action here. But how many people do you expect to read the tag wiki's? And how many of those are new-users? Sorry to play the devils advocate here ;) | |
Sep 21, 2018 at 6:37 | comment | added | Lundin | @fuz Indeed, we should add something like that, to discourage unnecessary use. It's in line with the proposal of Nicol Bolas below. | |
Sep 20, 2018 at 19:47 | comment | added | Jonathan Leffler | @Cœur: C90 is the ISO standard; C89 is the US-only ANSI standard for C, essentially equivalent to C90. C90 is a better choice than C89, IMO. | |
Sep 20, 2018 at 17:05 | comment | added | AdrianHHH | Suggest for both C and C++ tag usage: "If possible, mark the line in the code that gives the warning/error with a comment". | |
Sep 20, 2018 at 16:53 | comment | added | fuz | I like this very much, but I would really like if you finished the “Use C and C++ together” box with the sentence “Otherwise, do not use both tags at once.” | |
Sep 20, 2018 at 16:52 | history | edited | Nicol Bolas | CC BY-SA 4.0 |
C90 is a synonym of C89, which is the proper term.
|
Sep 20, 2018 at 16:35 | comment | added | Cœur | Please replace c90 with c89 in your policies. | |
Sep 20, 2018 at 15:10 | answer | added | Nicol Bolas | timeline score: 18 | |
Sep 20, 2018 at 15:05 | comment | added | jonspaceharper | What about "Editing and Moderation Guidelines"? Or "Guidelines for Editing, Tagging, and Moderation"? | |
Sep 20, 2018 at 13:47 | comment | added | Lundin | Yeah agreed. Perhaps just "Re-tagging guidelines?" Even though I tossed in some misc close/delete advise there too. | |
Sep 20, 2018 at 13:44 | comment | added | NathanOliver | Or "Moderator guidelines" -> "Moderation guidelines" | |
Sep 20, 2018 at 13:43 | comment | added | Andrew Morton | To me, "Moderator guidelines" reads as is it is directed at moderators as in diamond mods. Would "Editing guidelines" be better? Also, "either a gold c or a gold c++ badge" makes me wonder about if I had both. | |
Sep 20, 2018 at 9:29 | history | asked | Lundin | CC BY-SA 4.0 |