I am the user in question.
I have been making edits like this based on patterns I notice while trying to clean up old questions - stuff like routing them to the proper canonicals, bypassing "chains" of duplicate links, reviewing whether there's a better target for the questions I come across, deciding whether other popular questions are distinct enough not to be closed as duplicates... you get the idea.
Some context, first.
There is a somewhat established pattern of using notes like this to suppress the urge to dupe-hammer questions that shouldn't be - for example, Why does "a == x or y or z" always evaluate to True? How can I compare "a" to all of those? was subject to some warring in its history and spent a long fraction of its existence being marked as a duplicate. While it addresses the same problem as How to test multiple variables for equality against a single value?, I have found that it's usually a much better closure target for beginner questions:
- It frames the question as a debugging question rather than a technique question, which is important for a common gotcha
- It puts the single value on the left-hand side and the multiple values on the right-hand side, which is more likely to match the code that prompts people to ask
- It was written from the get-go to explain a specific problem clearly, while also sounding natural (in the terms a beginner would use)
- The top answer is community wiki and discusses the problem all-in-one, in an organized way.
The previous question isn't meant to be a debugging question. It would have been better asked without the code attempt, instead just showing expected output. But now answers largely depend on it, so that can't be edited out. The question has an important separate existence (it is actually, IIRC, the single question in the Python tag most used to close duplicates). The answers show a much broader range of techniques.
The last time that the new question was reopened, a note was added so that it wouldn't get closed again - I'm not able to find a corresponding meta discussion at the moment, but I would expect that there was one. Later, the note got de-emphasized and set in small text (using sup
or sub
tags).
Back to the present.
That de-emphasized note style seems to have become the standard for "notes" on questions, which I've been following - I think. The goal is to establish:
- Neither question is a duplicate of the other;
- Someone who finds one question is likely to want the other (instead, or as well);
- Someone who is trying to close a duplicate should consider whether the other is a better target.
I think this clearly improves the site, because
- It discourages people from acting too rashly on question closures
- People who find the question from a search engine may get relevant, curated additional information - or a direct link to what they actually wanted instead - placed directly where it will be seen next (rather than hidden on the sidebar, with only possibly-misleading title text, and no explanation)
- A warning like this can be seen in the duplicate closure dialog (comments on the candidate dupe cannot unless you go visit that page in a separate tab)
- Every edit to a question brings new attention to it via the Active tab, and new attention is important for popular canonical targets (so they can receive other edits for content, formatting etc. and make them as high quality as possible)
I am not too worried about "many people editing without formal structure or guidance" because
- We are much more like Wikipedia than a forum; therefore editing is good, and formal structure can arise when a need is established
- Unilaterally editing questions requires 2000 reputation and less than 1% of users have that, and my experience has been that most high-rep users feel they have something better to do on the site than the kind of cleanup I've been doing (not a slight against them; there are a lot of good things to do on the site!)
The question linked here has a lot of notes, admittedly. I will reconsider them; but generally I think it's better to put these kinds of things in a footnote than a comment, because comments are supposed to be ephemeral. As it happens, I have been working on establishing that one as canonical, for a little while now - see my previous meta post here.
One thing I've noticed with my overall task is that it's often a rather nuanced decision whether two questions are duplicated, and if so, which one should be treated as canonical. (On the flip side, sometimes there are hundreds of versions of a question, and all of them seem to be terrible - because it's a question that non-beginners take for granted, and beginners inherently lack the context to ask it well.) I've been using footnotes like this partly to document my choices and partly to advertise other good canonical targets. (I've noticed that the cabbage addicts will get annoyed if I just stream-of-consciousness everything that I'm doing into the chatroom, so instead I'm putting edited notes - i.e., collected thoughts in a highly visible location.)
I don't claim ownership over any of this editing. I didn't write the original version of the question, after all. I just want Stack Overflow to be the best reference library it can be (even if I'd rather redesign the whole thing from the ground up).