There was a question "How to deal with obsolete answers?"

The most popular answer to it says that obsolete answers should be deleted or updated.

Here is a question asked at SO. Its accepted answer became obsolete. Then @michaeltwofish posted up-to-date answer. Then @Trott made an edit updating original answer.

So currently there are two answers about the same.

Should one of them be deleted? Was it good to update original accepted answer?

Edit: Should accepted answer be updated properly (i.e. should

Given /^I login successfully$/
  Given "I login with valid credentials"
  Then "I should be logged in"

be edited to:

Given /^I login successfully$/
  step "I login with valid credentials"
  step "I should be logged in"


  • 2
    Why? If both answers are correct, why should any one of them be deleted?
    – Oded
    Commented Dec 28, 2012 at 17:39
  • If there were only invalid out of date answers, one could argue for deletion. But two good answers are even better than one. ;) Just leave them in place.
    – Bart
    Commented Dec 28, 2012 at 17:45

2 Answers 2


Don't delete out-of-date answers!

Quite often I am working with a legacy code base or technology, and I need out-of-date answers. I hate it when all I can find are answers that use the latest and greatest technology.

A better solution is to Edit the out-of-date answer to specify that the answer is out of date, and to point to the current way of doing things. This can either be a link to another existing up-to-date answer, or it could be your own up-to-date solution, but regardless of which you chose to do, don't delete the out-of-date part.

  • +1, good thing this is exactly what happened.
    – user200500
    Commented Dec 28, 2012 at 18:28
  • I frequently find myself working with legacy code as well, I would love not to have to but the reality is I don't have time to update entire applications to the latest and greatest technologies. There has to a business need for the update to!
    – Amicable
    Commented Dec 28, 2012 at 18:44

Keep them!

If you have two good, correct, quality answers why would you delete one of them? As Bart said, if they were to invalid answers then one might be deleted. But two good ones? Definitely keep them both.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .