11

On a recent SO question of mine, one respondent answered very quickly with an answer that was wrong. I checked the code and found that it did not work, started to comment, and saw that this person had edited his answer. Refreshing, I saw a completely different solution. This cycle repeated. In the end there were four versions of the answer.

https://stackoverflow.com/posts/41251365/revisions

Could SO discourage this sort of behavior? Should they?

9
  • 6
    Related: meta.stackoverflow.com/questions/303446 Commented Dec 20, 2016 at 23:52
  • 6
    SO got pretty famous for very fast answers to questions, if that has gone out of style then I missed the memo. Implementing some kind of artificial "you have to think for 15 minutes before you post" rule makes about as much sense as posting a snarky comment back to somebody that spared a half hour of his free time to try to help you. SO is not a personal help desk, all that matters is that an answer is useful for the next ~10 years to thousands of programmers. Commented Dec 21, 2016 at 8:01
  • If an answerer has to rewrite their solution several different times, it's very likely because your original question was insufficiently clear.
    – Cody Gray Mod
    Commented Dec 21, 2016 at 8:56
  • 4
    How dare you! YOU are the fake Will. I am the one and only true Will! Is there but one Washington? And is there but one Lincoln? And is there but one Will? I'm Will.
    – user1228
    Commented Dec 21, 2016 at 14:45
  • 1
    @Will We can settle this with two candles and our hands. ;)
    – TrueWill
    Commented Dec 21, 2016 at 14:57
  • 2
    But you won't. ba-dum-tss
    – user4639281
    Commented Dec 22, 2016 at 1:30
  • This is Martijn's usual answering style, so I'd be leery of anything that approaches discouraging him from posting. His initial posts are kind of an early-access beta version, with the "official release" following soon after (sometimes after a few more release candidate revisions). Commented Dec 22, 2016 at 3:05
  • @CodyGray In this case I even posted an executable JavaScript code snippet that showed the issue; I'm not sure how to make the question any clearer. stackoverflow.com/questions/41251313/…
    – TrueWill
    Commented Dec 22, 2016 at 19:00
  • I'd agree this is a duplicate question; thanks to @gnat I think the "root" question is meta.stackexchange.com/questions/9731/…
    – TrueWill
    Commented Dec 22, 2016 at 19:07

3 Answers 3

25

Could SO discourage this sort of behavior?

Sure, easily. Many forums lock posts as soon as they're created, preventing them from ever being changed. Some provide a small grace period for fixing typos, but lock it down forever once this is done. Obviously, this precludes extensive editing... And having all of your mistakes forever on display would seem to be a deterrent as well.

Should they?

Well... I'm sure you've at one point or another ended up on one of the forums I described above. How'd you like wading through a few pages full of knee-jerk half-assed answers looking for one that actually worked?

Answers on Stack Overflow often last for years. In general, it's much more important to have answers that are correct long-term than to worry about how they looked at various points in the first day of their existence. If someone's willing to recognize their own mistakes and fix them, that's worth encouraging.

7
  • 1
    Exactly. This question seems counter to one of the great things about this network. I can stroll into a 5 year old question with my current, valid solution and post it. In fact we reward that behavior with badges. Or I can update my old answers to respond to standards changing or software changing. You remove that, and this network can get stale pretty quick
    – Zombo
    Commented Dec 22, 2016 at 2:04
  • This seems to answer the inverse of the posted question, referring to content that can only be changed for a few minutes (generally to correct typos), while the question is about whether answers should be posted only once they're complete, without edits in the next few minutes. Commented Dec 22, 2016 at 3:01
  • @TigerhawkT3: If you're implying that the software should prevent posters from making edits until some time has passed (thus locking in initial impression votes), I'd suggest you post that as an alternate approach to the problem. Seems interesting. Shog's description refers to forums using a different theoretically valid solution, simply locking in the basis for all responses after a short time (presumably to prevent any major edits). Both are technical solutions, though. Commented Dec 22, 2016 at 3:50
  • @NathanTuggy - I think the difference is that making edits available for a few minutes but no longer, as with comments, is intended to allow users to address typos, while making edits available indefinitely is intended to allow users to improve their posts with new information over the years. The combination of those - editing a post with substantial amounts of new information in the first few minutes - seems to be a bit of a corner case. Commented Dec 22, 2016 at 4:05
  • @TigerhawkT3: Yeah, SE software doesn't currently implement much of anything to discourage this, technically. It could, but SE has rejected one possible solution (described here). I think your alternative may be worth examining in more detail, though. Commented Dec 22, 2016 at 4:07
  • @NathanTuggy - Although it can certainly be disconcerting to see a post evolve like that, I think the harm in such a style is minimal (it's theoretically possible for a reader to see such an incomplete post and immediately rush off to use a non-working code fragment or something, I guess). Weighed against the eventual quality of some of those posts, I don't think such a restriction is worth it. Commented Dec 22, 2016 at 4:13
  • Incidentally, I've addressed the "typo" scenario at length elsewhere (along with some stats on how common it is); if you're interested, I can dig up a link.
    – Shog9 Mod
    Commented Dec 22, 2016 at 4:40
21

If someone posts an answer that's wrong, downvote it.

That's how you discourage people from posting wrong answers. If they learn that their post needs to actually be good enough for an upvote before the first post it for it to actually be received positively, then that's what they'll do.

5
  • 2
    I actually did; the catch is that this person's last edit was a viable answer and could help future readers. In that (edge) case it seemed unfair to leave him with a -1. In general your answer makes sense.
    – TrueWill
    Commented Dec 20, 2016 at 23:05
  • 10
    I'd have no bad feelings "forgetting" about the downvote in this scenario.
    – Kevin B
    Commented Dec 20, 2016 at 23:17
  • 1
    If an answer is a good answer in it's current condition, why would you downvote it? Is it to confuse future readers who will wonder why that viable solution is not correct or harmful?
    – user4639281
    Commented Dec 22, 2016 at 1:32
  • 1
    @TinyGiant You would down vote the answer while it's wrong.
    – BSMP
    Commented Dec 22, 2016 at 2:12
  • 1
    I would add to this advice that in fastest-gun context a helpful trick is to accompany downvote with quick brief comment, eg "this answer seems wrong"
    – gnat
    Commented Dec 22, 2016 at 7:19
3

Refreshing, I saw a completely different solution. This cycle repeated.

I am guilty of that a lot. And this is the main reason I am drawn to answering questions here rather than on other forums. The ability to rethink/refine and ultimately correct your own answers and admit your mistakes is a good thing(TM). In fact, that is why the comments exist. Their purpose is to suggest how the forever-editable content (questions and answers) can be made better. That's not how comments are always used (because sometimes the bar for posting actual answers is too high), but that is their intended purpose.

1
  • I agree that refining answers is a good thing. I dislike "quick-draw" answers that are flat-out wrong or inapplicable, whether or not these are refined later. (I suspect you do your best to avoid that.) :)
    – TrueWill
    Commented Dec 22, 2016 at 18:55

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