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

When a question is solved, should the OP edit the post to include the working solution provided by one of the answers?

Here's an example:

Codeaddict gave me the correct answer for my question. I accepted his answer and I also upvoted a helpful comment.

Should I also update my question's code to include his correction?

share|improve this question

2 Answers 2

Nope. You should just do what you did and accept the answer that helped you. Changing the code will screw up the context of the question.

share|improve this answer

No, don't change your original question but some people add an "Edit" or "Update" section at the end of their answer. It's not strictly necessary but you can add the fixed code to the end of your question (clearly marked as an addendum/solution).

share|improve this answer
1  
did you mean "question" instead of "answer" in the first sentence? –  Lance Roberts Jan 2 at 18:17

You must log in to answer this question.

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