Sometimes, I will post an answer which works relatively well but then a comment suggests a slightly better, more concise, etc. approach (e.g. julia select all but one element in array/matrix).

What is the proper etiquette in this situation? Ideally, it would seem that the published answers should reflect the best available solution, which would favor me revising my answer. But, I don't want to plagiarize someone's comment.

My thought is to

  1. Revise my answer to reflect the best available response

  2. add an "edit" note at the bottom naming and appreciating the user for their comments.

Is this the proper approach in such a situation?

Update: And, if the approach I suggest is correct, are there any guidelines for how significant of changes it is appropriate to make? As in, is there perhaps a threshold where I should just delete my answer and/or urge the commentor to post their comment as an answer? Or, if they felt comfortable leaving their input as a comment, is that essentially giving me liberty to incorporate it as much as I see appropriate in the answer? (presumably because they didn't think it was worth it to them and/or the community to write out a whole new answer on their own).


1 Answer 1


Typically, I edit¹ along the lines of:

or, as @SavvyUser mentioned in the comments, defrobnicating the bellflange might be a slightly more elegant approach.

That is, if the approach is a slight or moderate improvement on my own answer.

If it's an entirely different or novel approach, typically I'll encourage them to post it as a separate answer proper, and upvote them if they do. If they demure, or if after a reasonable amount of time they have taken no action (reasonable varying with the norms of the specific site and tagset), I'll revert to strategy 1.

¹To call it out specifically, I personally prefer to integrate new information directly into the answer, in the most appropriate section of the prose, rather than tack on addenda in the form of "EDIT: better yet, defrobnicate it!"

  • 1
    Defrobnicating the bellflange might be a slightly more elegant approach here.
    – Dan Bron
    Jun 6, 2016 at 16:24

You must log in to answer this question.

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