On a question I was about to add an answer but someone else had already said basically what I was going to say, so I just added my code example to their post. Is that kosher or should I have added my own answer?

1 Answer 1


I wouldn't edit to add code. I would edit to fix a simple grammatical mistake or correct some formatting, but never to enhance the answer. It could be taken wrong by the person answering. Your best bet is to create another answer plus it could give you potentially more reputation points. :)

  • Would you suggest a duplicate answer or just referencing the above answer and adding the code in my own post.
    – rerun
    Jun 7, 2011 at 17:05
  • 1
    I would look at creating an answer that enhances the other answerer's answer and starts off with the statement of, "Similar to @OtherAnswer, this is what I propose with a more clarified example" Jun 7, 2011 at 17:09

You must log in to answer this question.

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