What to do if someone posts a second answer that should have been an
Your options are really just the tools the site gives us:
- Comment and explain their options. Be comprehensive if they're new,
or friendly nudge if they're more seasoned
- Downvote either/both if they're poor. Usual downvote reasons, but
not necessarily just because they posted a second answer, as both
answers might be valid and/or different
- Flag if there is a valid flag reason on either or both of the
But mainly (1), commenting to educate or nudge someone. They may have reasons for doing this which you have not recognised, and while it might not be a valid reason, a comment might nudge them to sort it out (if not, then downvote/flag).
They might have innocently:
- Posted a 2nd answer because they forgot they'd previously answered
(we are only human after all)
- Been unaware the edit button exists and wanted to add more info
- Thought they're on a forum (as per inɒzɘmɒЯ.A.M's comment)
This specific scenario
If it's the "How can I mock a private static method with PowerMockito?" (which I'm 99% sure it will be), then I would certainly comment to state their 1st answer should just have been edited (I have just done that now).
As it stands now with the 2nd answer, we can inform the user about their options and what might have been a better approach (edit).
We can downvote the 1st answer as it's weak.
It's debatable whether it's "link only" or not, and by "debatable" I mean some will state it is and some will state it's not because there is some textual info in the answer.
Personally, I'd still flag it as "Low Quality" and hope reviewers close it.
This gets rid of a low quality answer from the site, and the author still has their better answer.
I certainly don't think it's NAA, as the text in the answer is relevant to the question, so was clearly an attempt to answer.
An answer being bad does not make it NAA, NAA is for "me too" and "Thanks" etc.
We could also edit their 2nd answer and add the link "More info [link]" but as it's a link to another Stack Overflow answer, I wouldn't bother in this case.
Is that the right course of action? I don't think they were trying to
"submit a new answer to clear downvotes", because they didn't delete
their answer, they just did the wrong thing.
I agree, I think they're just a bit new to the site format/structures:
Member for 44 days; Profile on Stack Overflow only (no other sites); low rep, etc.
I've downvoted the poor (1st) answer, and flagged it as low quality.
We'll see what happens. I'm quite sure community will just do it's thing and tidy up, removing their 1st answer and leaving their 2nd one.