3

I flagged this answer based on the NAA flag description:

This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.

(emphasis mine)

However, it was disputed.

The question is specifically asking about how to run a piece of code only once on the first page load.

The linked answer only addresses the 'run onload' aspect of the question. It completely misses the aspect of running the code only once which is key to this quesiton.

Based on the above, was I wrong to flag it as NAA?

25
  • 5
    Moderators want you to vote on a post like this, they do not want to decide whether or not it answers the question. May 24, 2018 at 15:24
  • 1
    The dispute wasn't from moderators, it was from review stackoverflow.com/review/low-quality-posts/19814349
    – Braiam
    May 24, 2018 at 15:29
  • 3
    @Script47 What is there to do about the review? They correctly identified that the post was an attempt to answer the question that was incorrectly flagged. The post is clearly an attempt to answer the question. What is there to do about reviewers that reviewed the post correctly and took the appropriate action?
    – Servy
    May 24, 2018 at 15:38
  • 2
    @Servy no. You are right, going back to what the answer in the dupe, there is nothing wrong with the reviews. Apologies, my habit of assuming NAA means anything that doesn't directly answer the question kicked in. Old habits, I guess...
    – Script47
    May 24, 2018 at 15:40
  • 3
    @Braiam - I fully agree with the reviewers in this case. This isn't just a link, and the answer provides suggestions for ways to approach the problem, so it does indeed appear to be an attempt at an answer. I would have declined this flag had I seen it.
    – Brad Larson Mod
    May 24, 2018 at 15:50
  • 1
    @BradLarson I fully disagre with anyone that doesn't follow the help center: Answers that do not fundamentally answer the question may be removed.
    – Braiam
    May 24, 2018 at 15:51
  • 5
    @Braiam Just continue on from where you left off, the help center says, "Answers that do not fundamentally answer the question may be removed. This includes answers that are: -commentary on the question or other answers -asking another, different question -“thanks!” or “me too!” responses -exact duplicates of other answers -barely more than a link to an external site -not even a partial answer to the actual question" Note how there is not bullet for, "an answer that I don't like, or that I think is wrong" So your own quote makes it very clear that this answer doesn't merit deletion.
    – Servy
    May 24, 2018 at 16:04
  • 1
    @Servy sorry but if the implication is that I flagged this question because 'I don't like it' then you are mistaken. As for the part regarding thinking it is wrong, I still stand by that. It doesn't answer the question. However, as the answer in the dupe clarifies that NAA has a different meaning then sure, it is an answer. Maybe the flag name / description can be changed.
    – Script47
    May 24, 2018 at 16:11
  • 3
    @Script47 You think it's a wrong answer, not that it isn't an answer. And yet you flagged it as "not an answer", even though you think that it's an answer, just one that's wrong. The flag is very specific about the meaning. If you think that it's not a useful answer, then downvote it. That's the proper tool for indicating that you think an answer to the question is wrong.
    – Servy
    May 24, 2018 at 16:16
  • 2
    @Servy I think the confusion stems because: How can an answer be an answer if it isn't addressing the actual question? To clarify, if I was to answer a question which was tagged as C++, but my answer had completely irrelevant PHP code, technically any NAA flags that are used on my answer should be declined, right? I'm not looking to "argue", just a healthy discussion regarding the NAA flag usage.
    – Script47
    May 24, 2018 at 16:21
  • 1
    @Script47 If it's a sincere attempt to answer the question, then it's not NAA. Sometimes people don't realize what language a given question is expecting an answer in, or feel that an answer in a different language is still instructive enough that it will help people get their answer (at that point it's basically a pseudocode answer, which isn't inherently inappropriate, and certainly doesn't make it not an attempt to answer the question). If you feel that the answer isn't useful as a result, there are tools for indicating you think an answer isn't useful.
    – Servy
    May 24, 2018 at 16:26
  • 4
    That answer literally leads with "It depends on what first page load means to you. It's subjective." You can disagree with that premise, but the fact remains that it alone demonstrates clear attention to the question, and an attempt at answering it.
    – BoltClock
    May 24, 2018 at 16:32
  • 3
    @Script47: That's OK. I should add that when it comes to the NAA flag, the rule of thumb is to use it only for answers that look like edits, comments or questions that were incorrectly posted as answers. Posts that are "not an answer" by virtue of being things that aren't answers, if that makes sense. Like how an orange is not an apple. A PHP answer to a C++ question that doesn't make any acknowledgement of the nature of the question or even looks like it was posted by mistake is subject to deletion, but you're much more likely to get the expected outcome with a custom flag than with NAA.
    – BoltClock
    May 24, 2018 at 16:55
  • 2
    @Servy "not even a partial answer to the actual question" It includes the reason why this answer should be removed in that very list! How can you ever say it shouldn't be removed even when the whole thing explicitly doesn't prohibit you from removing them? This answer is the equivalent to giving orange to someone that asks for apples, not an answer to the question asked.
    – Braiam
    May 24, 2018 at 17:07
  • 3
    @Braiam But it is an answer to the question. It's an answer that you think is wrong, but it's an answer to the question. Again, it doesn't say, "the answer is incorrect" in the list. If you think it's wrong, that's fine, you have a tool specifically designed for you to indicate that you think an answer is wrong. Go ahead and use it. Just don't abuse other tools that exist to address entirely different problems than the technical accuracy of a post and get upset when you're told not to do that. SO's policy on this has been made very clear many times.
    – Servy
    May 24, 2018 at 17:26

0