63

In Stack Overflow, we have a prevention against short and not-so-meaningful comments like:

"+1", "-1", "huh?", "nononono", "blabla"

And so on by having a minimum number of comment characters (which, as of now, is 15) and I see this as something that do more good than harm though this obviously cannot prevent all possible cases for such comments.

We can still do something like this:

"blablablablablanotsomeaningful"

Or by any other methods to bypass the filters just as what Alexander O`Mara has demonstrated in the comments for this question.

This may also prevent some rarely-short-but-fit-comment like in the accepted answer of this post:

Yet. (oh why 10 chars...)

And that's OK, and we can live with that (though sometimes we might be a little restricted when we want to post a short and good comment - at least to our eyes).

However, I am curious to know why the name of a specific target audience would be included in this minimum character calculation?

@userwhohasverylongname +1

The above comment is OK.

But, though limited to the targeted user, by allowing the username as part of the calculated characters, does this not seem like defeating the purpose of putting in any minimum-number-of-characters rule in the first place?

Edit:

And just to clarify. I am simply curious to know what the reason is behind that.

This is because, while we actually already have such filter when we target a solo user comment (that is, to remove the @targetuser), we do not apply it to the user comment length.

I do not intend to ask why the comment filters are not made so strongly or to suggest that they must be made much stricter. No, that is not only involving too much works, but also may do more harm than good. And that is not my intention at all.

I only ask int the scope of the text of the comment length for a targeted user.

I hope that it clarifies my intention.

29
  • 194
    ​​​​​​​​​​​​​​​ Commented Feb 22, 2016 at 4:07
  • 172
    ​​​​​​​​​​​​​+1 Commented Feb 22, 2016 at 4:10
  • 62
    Meh, bypassing filters is easy. Commented Feb 22, 2016 at 4:11
  • 43
    Zero-width spaces in this case: en.wikipedia.org/wiki/Zero-width_space Commented Feb 22, 2016 at 4:11
  • 9
    I'm guessing it's just to educate the worst offenders, and accepting there are infinite ways to bypass. Commented Feb 22, 2016 at 4:12
  • 42
    @AlexanderO'Mara +1
    – 2501
    Commented Feb 22, 2016 at 9:44
  • 212
    !!‮ kc̠̬u̲̖̤s͇ s̼̬͚̬ͅn̜̘̘̞̩̻o͎͈i͇̖̣̥t͓͍͖ci̯̬̪̟̖͔r̯t͉̪s͕e̦̣̖͇r͕̯͔͈̳̘̗ ͍̼͇ͅyr̩̻͍̼̤̘a͙͈̙̗͕r̮͔̟̦̹̣̳t̯̲̺i̦̗̮̼b̜̦̻̻̞ͅr̘̯̦̯̬a̪ ,̤͍͈͎h͔͔̪̩͇̗a̖͚̝͎e̤͇Y̟ Commented Feb 22, 2016 at 10:36
  • 10
    Okay.. I hope my previous comment isn't too obnoxious. But I don't think this is something which really needs fixing, even though some sort of basic check (maybe in JavaScript) would not be too hard. Is this kind of thing actually a common problem ? Commented Feb 22, 2016 at 10:40
  • 15
    @JonasCz I really want to know how you did that reverse text thing. Commented Feb 22, 2016 at 12:06
  • 2
    @JonasCz If you want to prevent people from doing this, JavaScript is certainly not enough.
    – idmean
    Commented Feb 22, 2016 at 12:17
  • 7
    @Dennis van Gils Here is the explanation : stackoverflow.com/questions/12179941/… Commented Feb 22, 2016 at 12:54
  • 6
    @Dennis, Here is the real answer: meta.stackexchange.com/questions/3122/formatting-sandbox, 10th answer down or so.. Commented Feb 22, 2016 at 13:13
  • 2
    Out of curiosity - what's the longest username in Stack Exchange? Commented Feb 23, 2016 at 4:02
  • 7
    100 longest user names – the longest name is actually a GUID, and it’s being used multiple times…
    – poke
    Commented Feb 23, 2016 at 10:43
  • 3
    @poke because this
    – AakashM
    Commented Feb 23, 2016 at 11:04

3 Answers 3

34

Why is something not more complex than it is? Because simplicity is a virtue.

Complex systems have more bugs by virtue of their complexity. Spotting relatively innocuous bugs and saying "why don't we fix this bug by adding complexity" implies that the inevitable bugs and maintenance cost caused by complexity is worth fixing that bug. To justify adding complexity, you must first put forward a strong case for it. Your case, as written, is "why not", which is not a strong case.

If you have some simple, clean solution that fixes 99.99% of an issue, and the goal is to reduce (and not eliminate) the issue, you are probably at an optimal point. Adding complexity to mitigate the 0.01% that leak through is not a practical approach.

A failure of this filter is not catastrophic. The goal is to make the thing being blocked less common. Once it becomes rare enough, social norms will probably take over and make it even less common.

I mean, you might get lucky and be the one person in the history of computer programming who adds complexity to solutions and they never come back and bite them.

Let me know how that plan goes.

15
  • 13
    You see, there's this new thing called "testing".
    – CodeCaster
    Commented Feb 22, 2016 at 15:59
  • 38
    @CodeCaster Yes, testing solves all software quality issues caused by complex software at reasonable cost levels. Commented Feb 22, 2016 at 16:05
  • 20
    Correct me if I'm wrong, but I'm getting a kind of "tongue-in-cheek"y vibe from your post. Yes, building software is hard, and defect rate raises with added complexity. Do you really need six paragraphs explaining just that, to get the message "Doesn't the current approach work just fine?" across? I've seen plenty of @longusername thanks or @longusername +1 comments which we apparently don't want on the site, so maybe it is a viable approach to ignore usernames in checking the minimum comment length.
    – CodeCaster
    Commented Feb 22, 2016 at 16:16
  • 8
    His handle is Yakk @CodeCaster...might explain the six paragraph thing ;)
    – serraosays
    Commented Feb 22, 2016 at 19:23
  • 1
    @CodeCaster But do those comments hurt? I don’t think so. They are redundant, not needed, but it’s not a problem. So if you are bothered by them: flag them. Same with any other kind of “abusing” comments.
    – poke
    Commented Feb 23, 2016 at 10:36
  • 4
    @poke they're not hurting or bothering me. They're bothering someone else, why the restriction was put in place.
    – CodeCaster
    Commented Feb 23, 2016 at 11:00
  • 1
    'testing solves all software quality issues caused by complex software at reasonable cost levels' This is exactly what testing does, isn't it?
    – jwg
    Commented Feb 23, 2016 at 11:04
  • 3
    Obligatory reading: How many Microsoft employees does it take to change a lightbulb? Oded mentioned this too, at some point.. Commented Feb 23, 2016 at 16:45
  • 1
    @Jwg, If only that were true.. Unfortunately, it doesen't solve all software quality issues, and, well implementing and testing a new feature costs more than not doing so :-) Commented Feb 23, 2016 at 16:47
  • Oh wow. This particular bug could be fixed with a simple one-liner. But that, alas, adds additional complexity, potential new bugs and maintenance costs. Who would have thought?... It's a lovely argument though. Will keep it in mind the next time I have to implement something trivial but I'm in a too lazy mood. Thanks Yakk. Commented Feb 24, 2016 at 9:49
  • 1
    Just as more complexity adds more bugs, more text adds more reasons to not agree :) The first sentence was probably already enough. Simplicity is a virtue - amen.
    – Gimby
    Commented Feb 24, 2016 at 10:08
  • 1
    @karo good! Next time you are tempted to double or triple the length of some logic for a 0.1% case, where failure is not critical, please don't do it. If everyone whose code I had to work with had the fortitude to say "no", things would be better. Commented Feb 24, 2016 at 12:33
  • @Yakk: That's a good argument. But as I was implying, I find the rest just ridiculous. Commented Feb 24, 2016 at 12:47
  • @jwg It only solves the quality issues you test for.
    – chepner
    Commented Feb 24, 2016 at 15:44
  • @Yakk I'd say that's a bit of an oversimplification. I agree that you need to take a good hard look in such a 0.1% case whether solving the problem is worth the additional complexity the solution introduces, but to say that it's never worth it seems a bit extreme. I'd also venture that the exact point of testing is to find issues in a cost effective manner rather than discovering them at a point in the development process where fixing them is costly, although edge cases can probably be thought up where this isn't the case, and admittedly it's impossible to test everything cost-effectively.
    – Cronax
    Commented Feb 24, 2016 at 16:53
28

Consider that @something is not necessarily a username/mention. In the Java tag, and depending on the context, the following comment could be considered useful:

Use @Deprecated

That's 15 characters; if what looks like a @mention were not considered, I'd have to pad it with 11 more junk characters.

5
  • 20
    Re: "I'd have to pad it with 11 more junk characters": Or, horror of horrors, you might be inspired to link to some useful documentation about @Deprecated . . .
    – ruakh
    Commented Feb 23, 2016 at 4:50
  • Yes, a link would make it more useful, but that misses the point. Besides, inspiration doesn't always come before posting a first draft, nor does it often visit after an annoying system message due to an arbitrary limit. Commented Feb 23, 2016 at 5:56
  • 2
    Yes, but that's also true of the general 15-character limit. The site owners have made it very clear that they're willing to make tradeoffs that sacrifice some high-quality content, or even a lot of high-quality content, as long as the end result of these tradeoffs is that a higher proportion of the site's content is high-quality. (To be sure, I think they often get the tradeoffs wrong, and err on the side of deleting or preventing too much useful stuff. That's basically Shog's entire MO. But they're trying.)
    – ruakh
    Commented Feb 23, 2016 at 6:09
  • Sure, but I wasn't intending to argue for or against the limit itself. Commented Feb 23, 2016 at 6:11
  • Maybe it would be helpfull to write @Deprecated in backticks and to ignore the @mention in backticks since you don't need monospace font for usernames
    – msrd0
    Commented Feb 23, 2016 at 19:15
8

AFAIK when the rule appeared, there are so many new users approaching with the forum/board culture. Users tend to post i like it messages in forms of +1 or wow etc. The solution is simple as preventing messages shorter that 15 character limit.

Because many users having the forum culture do not consider finding ways of overcoming this, they simply learn that posting thanks or great answer comments are only producing garbage and they are not welcome in this community.

It still do its job on preventing garbage comments most of the time. Any user that learns how to overcome this also (probably) already learned what the comments are and what they are not for.

2
  • 2
    I like this answer ........................ Commented Feb 24, 2016 at 13:01
  • In fact, I like this answer is longer than 15 chars, so no need for following periods (: @Trilarion your answer proves that anyone who wants to show his like would find a way to do it against all strong checks (:
    – Mp0int
    Commented Feb 25, 2016 at 7:29

You must log in to answer this question.

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