The suspected duplicate question is closely related, but not an exact duplicate: it relates to ever-expanding questions, with follow-up after follow-up, which is not per se the focus of this question, not least because such follow-ups may come in the form of comments rather than modifications to the question.
Because there is substantial overlap, however, I've added the gist of the linked question to this one.
I think the problem is well known:
A question is asked.
Answers are received.
The OP modifies the question substantially (possibly repeatedly), invalidating existing answers.
A less harmful, but still problematic variation:
- The question itself isn't changed, but the OP realizes their real problem was something else, and they self-answer with whatever they ended up doing or simple ignore answers - either way, answers that addressed the original question don't get accepted.
Per https://meta.stackoverflow.com/a/290704/45375, the first case can be addressed with rolling back to the original form of the question, but that doesn't apply to the second one.
In the interest of guiding posters, however, in both cases I wish there were an official help topic to point them to, which:
explains why questions shouldn't be modified in substance after having received answers (due to invalidating existing answers) and that a new question should be asked instead.
that it is important to pick an accepted answer to the question as asked (even though they may still post a - properly framed - "afterthought" answer themselves).
additionally, to give renewed life to this closely related request:
explain why users may - for good reasons - stop answering ever-expanding questions, where the OP keeps asking follow-up questions, and that an answer to the original question should be accepted, with follow-up questions raised in a new question.as for changes that do make sense: perhaps say that it's OK to correct spelling errors, syntax errors that are incidental to the problem, fluff, needlessly verbose parts, incidental parts of the code (unless they're being quoted among the answers and removing them would cause confusion).
Update: Having such a help topic is not mutually exclusive with using rollbacks to revert a question to its original form:
You could simply reference the help topic from the rollback edit's comment, which not only saves you from having to explain the same thing over and over, in the limited space of a comment, but carries more weight due to pointing to an official resource.
Similar to how shortcut [mcve]
in comments points to http://stackoverflow.com/help/mcve, something like [dontchange]
could point to the new topic.