8

This question has two near-identical answers.

I flagged this answer (note: answer was removed in the meantime, so link doesn't work anymore):

var answer = confirm("Save data?")

if (answer){
       //some code if yes
}
else{
       //other code if no
}

as a duplicate (copy) of this (older, lots of up-votes) answer:

var answer = confirm("Save data?")
if (answer){
       //some code
}
else{
        //some code
}

Use confirm instead of alert. This is the easiest way to achieve that functionality.


explaining the flag with:

this answer is a copy of second highly voted answer by Chuck Norris stackoverflow.com/a/9334679/2275490, the only thing he changed was adding "if yes" and "if no" at the commented code

Well, the flag was declined by a moderator for this reason:

its fairly boilerplate code, and arguably the "if yes", and "if no" add some more detail to the answer

My question is: Was this a mistake by the moderator? If not, what is the threshold to qualify an answer as a duplicate (copy)?

14
  • if moderators statement: 'arguably the "if yes", and "if no" add some more detail to the answer' is true, my flag should not have been declined, right?
    – Vickel
    Commented Mar 7, 2016 at 20:35
  • That answer is way at the bottom, certainly plausible that the answerer simply didn't see it. He/she also has no other answers, so it's hard to judge whether or not this user did this with malicious intent.
    – Kevin B
    Commented Mar 7, 2016 at 20:49
  • @KevinB that's why I added the corresponding links and explained when flagging
    – Vickel
    Commented Mar 7, 2016 at 20:51
  • 1
    No, you missed my point. I'm sure the moderator was aware, but maybe the answerer wasn't. This is such a simple question that it's not difficult to imagine two people giving such similar answers. in this case there are actually 6 answers that use this technique (several of them deleted)
    – Kevin B
    Commented Mar 7, 2016 at 20:52
  • yes I see, anyway back to my question what makes an answer a duplicate?
    – Vickel
    Commented Mar 7, 2016 at 20:53
  • 1
    well... there's nothing wrong with "duplicate" answer (other than it not adding value), the problem arises when it is plagiarized. you can't prove it was plagiarized in this case, and there's no history with this user to base a decision on either.
    – Kevin B
    Commented Mar 7, 2016 at 20:55
  • to be fair though... one of the deleted ones were deleted for the same reason, presumably from a flag like yours.
    – Kevin B
    Commented Mar 7, 2016 at 20:58
  • @KevinB so we want to encourage to copy-paste an accepted answer or a highly up-voted answer, change a little bit in the comment and post it as a new answer?
    – Vickel
    Commented Mar 7, 2016 at 20:58
  • @KevinB I've flagged duplicated content that adds nothing new, and have got it deleted.
    – Braiam
    Commented Mar 7, 2016 at 20:58
  • @Braiam: the moderator writes: "its fairly boilerplate code, and arguably the "if yes", and "if no" add some more detail to the answer" and then declines the flag? that was a mistake !
    – Vickel
    Commented Mar 7, 2016 at 21:00
  • I'm not seeing how that answer adds anything new to the preexisting one. In fact the older at least have a note why confirm is better than just alert.
    – Braiam
    Commented Mar 7, 2016 at 21:05
  • 1
    @Braiam exactly that is the reason why I flagged it. The moderator who declined the flag saw it as well, but instead of getting rid of the dupe answer they declined my flag...
    – Vickel
    Commented Mar 7, 2016 at 21:08
  • 1
    the dupe answer has been deleted, but my flag maintains declined. I can live with that :)
    – Vickel
    Commented Mar 7, 2016 at 21:14
  • 2
    FYI: Mods are people too, they can also make mistakes.
    – Just Do It
    Commented Mar 7, 2016 at 21:21

1 Answer 1

17

I declined your flag. At the time, I did it intentionally, because I thought the "duplicate" added something (admittedly negligible) to the question.

In retrospect, it might have been soooooo negligible, I should have just deleted it. Or at least marked your flag as helpful.

5
  • 1
    you are welcome to reverse the flag. And thanks for answering.
    – Vickel
    Commented Mar 7, 2016 at 21:39
  • 6
    @Vickel: moderators cannot reverse flag decisions.
    – Matt Mod
    Commented Mar 7, 2016 at 21:40
  • 3
    as I wrote in the question comment, no big deal, I can live with it :)
    – Vickel
    Commented Mar 7, 2016 at 21:40
  • 8
    If the comments made the control flow clearer, they should have been improved in the original answer. This is the kind of trivial added value that should be achieved through edits, not duplication of the entire answer. Unfortunately, some people are wedded to a foolish notion that code is somehow sacred and therefore off-limits to editors.
    – Cody Gray Mod
    Commented Mar 8, 2016 at 10:02
  • i don't think you did anything wrong in declining the flag, because its programming and some things are meant to be written in specific format and if someone posts it before that does not means anyone else should not post answer. @CodyGray some people are wedded to a foolish notion that code is somehow sacred and therefore off-limits to editors it must be a programming quote. Just my thoughts no offence
    – Sandeep
    Commented Mar 8, 2016 at 12:46

You must log in to answer this question.

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