What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

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"
end

be edited to:

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

?

share|improve this question
2  
Why? If both answers are correct, why should any one of them be deleted? –  Oded Dec 28 '12 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 Dec 28 '12 at 17:45
add comment

2 Answers

up vote 3 down vote accepted

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.

share|improve this answer
    
+1, good thing this is exactly what happened. –  Asad Dec 28 '12 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 Dec 28 '12 at 18:44
add comment

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.

share|improve this answer
add comment

You must log in to answer this question.

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