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

Often when answering a question, I come across a situation where I would like to refer to a user that left a different answer or a comment on the OP's question, so as to give them credit, like I did in this answer.

In this particular situation, a user left a comment on the OP's question, but I felt that I could improve it considerably with a code example, so I did, and I mentioned the username of the user that left the comment (it just seems correct to me to do so) If its just a case of leaving a simple comment, I do so, but if a code example will help, I do that in a separate answer.

Did I do this correctly by including @username in my answer? Or is there a certain 'protocol' or better way to do this? I havent found anything related in the faq.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

A possibly better way would be:

As suggested by SirPentor, if the Updater classes have a common base class (lets call it UpdaterBase), then define the getUserAnswer() method there, most likely as abstract.

...

Where the link points to the comment. That way we know exactly what you refer to, be it a comment or an answer. If SirPentor adds another comment somewhere in that question, it won't be very easy to guess what was the suggestion you expanded on. And it wouldn't hurt if you posted a reply to SirPentor's comment, notifying them that you expanded their comment in an answer, I guess it'd be the nice thing to do.

share|improve this answer
    
Thanks, but how do you get a link to a comment? –  Brady May 22 '12 at 9:39
    
@Brady The link to the comment is under the comment's timestamp, the 5 hours ago part. –  Yannis May 22 '12 at 9:41
    
ok, got it, thanks. Do you think this may be worth adding to the faq or Wiki? –  Brady May 22 '12 at 9:43
    
@Brady I don't know if it's documented anywhere, do a quick search and if you don't find anything you can post an MSO question about it and, of course, answer it as well. That would be a great use of the brand new insta-answer thingy. Have at least one screenshot with free hand circles for sweet & instant Meta rep! –  Yannis May 22 '12 at 9:45
    
Ive been considering doing this, but wouldnt posting another MSO question related to this be repeating exactly this questioin? –  Brady May 22 '12 at 10:16
    
@Brady Related yes, but not a duplicate if you make it specifically about how to get links to comments. That said, I'm not sure it's not documented anywhere else... –  Yannis May 22 '12 at 10:17
add comment

You must log in to answer this question.

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