132

There seem to be a large number of people that worry about things on Stack Overflow, but newbies are going to do what feels normal to them (thanking someone), and there will always be newbies. Why not put a little front end magic on this problem and when you see "Thanks", or "Thx" or other such phrases in a comment, pop a dialog to ask the user to upvote the question or the answer instead, and explain to the user that the way we show thanks on Stack Overflow is with those upvotes?

You might want to skip the check altogether if the character count is above a threshold, etc....

It is instantaneous positive reinforcement that won't be met with TL;DR. You could allow the user to post anyway if they insist and autoflag the comment for moderator review. If you never put thanks in a comment, then it won't trigger for you, and it saves the humans time reviewing comments. Plus it encourages the behavior you want to see.

23
  • 61
    Most of the <10 rep guys aren't even able to upvote. Commented Nov 27, 2016 at 14:22
  • 4
    Too much chance of false positive here for an autoflag, I think. But the prompt is not a bad idea, although I thought that something like that already happened...
    – jscs
    Commented Nov 27, 2016 at 14:32
  • 12
    @πάνταῥεῖ well, commenting anywhere is a 50 rep privilege.
    – Braiam
    Commented Nov 27, 2016 at 14:42
  • 2
    One would have to weigh the benefit (less "Thanks" comments) with the cost (RegExp-based popup for everyone). A diamond input indicating how many such comments were flagged and deleted in the past month and how much of a hassle it is to delete them would be useful for the purpose of this suggestion.
    – Kyll
    Commented Nov 27, 2016 at 15:15
  • 38
    Begging for votes is pretty gauche, it annoys lots of SO users. Doesn't get any better when a machine does it. Makes it worse actually, we don't want to teach new users that begging is okay. Meh, it is just a comment. I personally don't even flag them. Commented Nov 27, 2016 at 18:52
  • 1
    prompting the user to upvote the question presumably if the user is saying "thanks" it's on an answer? Did you mean prompt the user to upvote the answer?
    – Tas
    Commented Nov 28, 2016 at 11:25
  • 26
    It's one thing to not allow "Thanks" in question, do we really need to concern ourselves with people thanking people in the comments - sheesh! Let it be!
    – Brett
    Commented Nov 28, 2016 at 11:44
  • 3
    I don't really care about a comment saying thanks, and it's not like I ever saw a thread with 10 "thanks" comment. If the comment don't add value, I don't think it adds noise either way. And if someone thanks me but don't accept the answer or another, I just reply him "accept the answer so people will know that this answer solved your problem". It take what .. 10s of my time ? Even if It'd happen quite some time in a day this cost nothing.
    – Walfrat
    Commented Nov 28, 2016 at 12:26
  • 8
    Last time I did this, it was... Not popular. In fact, it was literally the least popular thing I've ever done here. Not that that's necessarily a reason not to do more of it, but...
    – Shog9
    Commented Nov 29, 2016 at 5:04
  • 3
    It would also need to detect if the user already did upvote the answer. Silly to prompt them if they already did so. A user with a rep less than ten, presumably commenting on an answer to their own question, could be prompted to accept the answer instead, again, unless they already accepted one. Not saying I agree/disagree with the idea though.
    – ToniWidmo
    Commented Nov 29, 2016 at 11:46
  • 1
    @Braiam: Actually when it comes to decisions affecting users directly, he probably should. Listening to its community is one of SO's main characteristics. Commented Nov 29, 2016 at 13:32
  • 1
    @Braiam You put PHP in the same list as Trump and Bieber? I am officially offended. Commented Nov 29, 2016 at 14:19
  • 5
    @IvanSchwarz SE has a history of very rarely listening to its community...
    – Servy
    Commented Nov 29, 2016 at 14:20
  • 3
    @Shog9 What did you do that was not popular? It seems that some people know what you're talking about, while I (and maybe others) have no idea. Also, maybe you can say it in the "answer" box.
    – anatolyg
    Commented Nov 29, 2016 at 14:32
  • 2
    @πάνταῥεῖ While it's true that users with <15 rep can't upvote, users with <50 rep can't comment on other people's posts, so it's a moot point.
    – Brian
    Commented Nov 29, 2016 at 21:48

2 Answers 2

172

Why not give them some help with some nostalgia :-)

$(document).ready(function() {
    clippy.load('Clippy', function(agent) {
        // Do anything with the loaded agent
        agent.show();
        
        window.setTimeout(function() {
            agent.moveTo(100, 0);
        }, 100);
        window.setTimeout(function() {
            agent.speak("It seems like you're trying to thank someone for a great answer. Would you like to have help with upvoting?");
        },  500);
    });
});
<link rel="stylesheet" type="text/css" href="https://www.smore.com/css/clippyjs.css" media="all">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="https://www.smore.com/js/clippyjs.js"></script>

13
  • 15
    Nice try, but this answer could use some explanation.
    – Glorfindel
    Commented Nov 28, 2016 at 12:10
  • 18
    Tremendous! I shall use this on every one of my sites from now on
    – Darren H
    Commented Nov 28, 2016 at 18:58
  • 34
    @Glorfindel: Sometimes saying less is better, especially when there's a working Run code snippet button to punctuate the joke perfectly.
    – kjhughes
    Commented Nov 28, 2016 at 21:36
  • 2
    This is fantastic.
    – Lexi
    Commented Nov 28, 2016 at 21:43
  • 11
    One measly upvote is not enough! I actually worked at Microsoft on the Word team when Clippy and friends came out. :)
    – JeffC
    Commented Nov 28, 2016 at 21:50
  • 7
    Cool @JeffC. I'm quite happy with clippy-js for cases just like this :-) clippy was annoying as hell in word after the 20.000th question if i want help writing a letter, but now years after the fact he fills with a sort of nostalgia of times long past. Commented Nov 28, 2016 at 21:57
  • 15
    @FredLarson - Don't you want to upvote the answer instead of leave a thank you comment --- Clippy
    – boatcoder
    Commented Nov 29, 2016 at 2:35
  • 1
    I am not just bookmarking this answer, I also copied it and saved it in my email drafts :D Commented Nov 29, 2016 at 15:31
  • 6
    This makes me so uncomfortable Commented Nov 29, 2016 at 19:10
  • 1
    reminds those good old days Commented Nov 30, 2016 at 5:37
  • 2
    There are 2 clippys on Firefox 50.0.1 Commented Nov 30, 2016 at 12:54
  • 1
    yea, same here on chrome, not sure how to solve that, i didn't delve that deep into the library to see how to solve that :-) Commented Nov 30, 2016 at 13:26
  • 1
    some nostalgia More like flashbacks. Years later and it still makes me reach for a heavy object to "crush, kill, destroy... the clippy" ;-)
    – Leigh
    Commented Nov 30, 2016 at 14:45
10

This is a common source of frustration, so I did a bit of research into potentially blocking these comments with a message encouraging the commenter to upvote or accept the answer.

Unfortunately, over half the comments that would match a simple expression (short comment that contains "thanks / thank you") are posted by someone other than the asker - often by the author of the answer themselves as part of a conversation.

For such comments posted by someone other than the author of the post itself, the commenter already votes about 62% of the time; for comments expressing gratitude posted by the asker, that jumps to 72%.

Given the limitations of the current system, that means a naive implementation of this would stand to annoy a lot more people than it would help... Though I must say, I'm tempted to just turn it on anyway simply to try to reduce comment noise.

But with a bit more work, such a prompt could be far more effective. If it were possible to trigger a message to the author only in situations where A) the commenter wasn't an answerer and B) the commenter handn't already voted on the answer, it could be a boon to both frustrated answerers and confused askers without becoming an annoyance to others.

You must log in to answer this question.

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