I have recently had a small debate here, where I advocated for the person answering a question to mention a commentator.
This commentator had posted the backbone algorithm of the answer in a question related comment almost as soon as the question was asked.
Several SO users argued that the algorithm was trivial and considered it as a dictionary reference, but IMHO all it takes is a 5 words long sentence to do the decent thing and acknowledge the fact that some has already thought of your answer earlier.
So my question is : what is the best practice here ? If you comment and help someone out, would you like to be mentioned as the inspiration of an answer?
EDIT-0 : removed the reference to a comment related RFE since it is clearly not a desired feature.
EDIT-1 : Following the marking of this question as a duplicate - I want to emphasize that I am asking about the best practice here - some SO users would acknowledge commentators and some would not. IMHO there is no question here - if a comment is good and solid and you used it in your answer - give credit to the commentator. I simply want to understand what the general perception of SO users is on this issue, and conform with it.