Skip to main content
4 of 4
edited tags; edited title
Cody Gray Mod
  • 244.2k
  • 84
  • 721
  • 763

What's the etiquette on updating an accepted answer?

Software changes. Good answers become bad. Stack Overflow does not currently have useful tools to account for that. How can we use the existing site features most effectively to handle outdated content? To give one example of many, I'll refer to the Q&A below:

Built-in module to calculate least common multiple

The top-voted and accepted answer is now incorrect due to the Python 3.9 release, but many of the usual recommendations we find on meta are unsuitable, e.g. they rely on the asker and/or answerer still being active to respond.

Comment to answerer that the information is outdated?

Answerer is last seen approx two years ago (Feb 2019). And there's already a comment there.

Comment to OP asking them to change accepted answer?

The OP is last seen approx two years ago (Feb 2019). Even when they're active, this idea only rarely works.

Go ahead and edit it so that the top answer is correct.

It would make the second answer entirely useless. (nb: usually this is my choice, but it seems impolite when it invalidates other answers)

Downvote it, upvote the current answer.

It was a good answer, as the score reflects, and will probably keep getting upvoted as long as accepted answers stay pinned to the top. Many users are reluctant to downvote so voting will never rebalance these answers correctly.

Upvote that commenter who points out that the answer is outdated.

Okay, but it doesn't really help much. Comments are ephemeral and have lower visibility. The answer remains wrong.

That poster of the 2020 answer should have just made the edit...

Now, this one I strongly agree with! But that ship has sailed. Unfortunately I've often seen users (and even moderators!) prefer to post a late answer to boost their stats, rather than just making the necessary edits to put the current information where it will be of most utility.


Have I missed any workable solutions here? How can we best keep the knowledge base current for what I believe is the silent majority, those users who search and find solutions to their problems without posting at all, without them having to wade through outdated content?

wim
  • 361k
  • 7
  • 38
  • 66