24

I'm asking why this question was closed.

Picture of the post in case it gets re-deleted:

enter image description here

The close reason is:

This question appears to be off-topic. The users who voted to close gave this specific reason:

"Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it."

But I don't see any request for any off-site resource. The OP simply wants to know how to get the indexes for duplicate elements.

Maybe the question was closed for other reasons? The question doesn't include an attempt at the problem, and isn't particularly well-written or insightful, which could contribute to it being viewed as low-quality. However, this doesn't seem to fit as 4 of the 5 reviewers chose the 'off-site' reason.

Any ideas? Should it be reopened?

Edit:

It has been reopened and reclosed as "too broad". I'm not sure I agree with that either, as there are plenty of questions that ask, "How do I do {simple task}?" that aren't closed as such.

Furthermore, I think I have a better solution. After looking around a bit more extensively, I found this duplicate. We should close this question as a duplicate. Of course the original can then be closed as "too broad" if wanted.


For those wondering why my answer seems to mirror the top, older answer, it is because that answer originally used a different (wrong) method. When I pointed out the flaw, his answer became pretty much the same as mine. (And attracted some upvotes for being older I suppose.)

29
  • 4
    This is the kind of situation where you'd think "hmm, were the reviewers given an audit with text from a completely different question that is a request for off-site resources?", but no, it's not an audit. So I got nothing.
    – BoltClock Mod
    Commented May 16, 2017 at 3:00
  • 17
    (Who wants to bet that at least one of them voted to close the question based on the appearance of the string "is there any"? That's the only remotely plausible reason I can think of for someone choosing that reason. Otherwise... yeah I got nothing.)
    – BoltClock Mod
    Commented May 16, 2017 at 3:02
  • 13
    So strange that noone ever tried to iterate through list in Java so far... Probably pretty new language :)... I can see why one can vote (last) as "where to find guide on iterating through the list" and the rest - unclear, too broad, missing MCVE,... Commented May 16, 2017 at 3:21
  • 3
    I think @BoltClock is right about keyword "is there any". I observe this quite a lot, for example if C# question contains "NullReferenceException" keyword - almost immediately people start casting close votes for famous duplicate question about that exception, without even reading the question.
    – Evk
    Commented May 16, 2017 at 8:20
  • 6
    Reclosed as too broad, most likely because it comes out as a write-me-a-code request. I would have preferred unclear (I think it's asking us to find a duplicate in an array if there is one, but I'm not 100% sure), but still better than offsite-request. Commented May 16, 2017 at 9:15
  • 7
    "Is there any" may be understood as a request to browse the documentation for the OP to find the class/functionthat satisfies OP's needs. In this sense it is an analogy to "is there a book" on a more detailed level - "is there a function". Or a simpler interpretation - that fact that OP is asking such a question suggest that they don't know references exist, so it must be that de facto they are asking to find the official reference for them and point to the solution :)
    – BartoszKP
    Commented May 16, 2017 at 13:06
  • 2
    @BartoszKP clever. Are you willing to post this as an answer and subject yourself to community voting, though? :-) Commented May 16, 2017 at 14:09
  • 2
    Some people hate reasonable questions. Some people just want to see the world burn... they may be the same people.
    – user4639281
    Commented May 16, 2017 at 15:16
  • 2
    @TinyGiant The question might be reasonable but is not a good SO question. Your description of the voters seems a bit ... over the top :0
    – BartoszKP
    Commented May 16, 2017 at 15:30
  • 5
    @BartoszKP Let me get this straight. It is a perfectly on-topic reasonable question... yet it is not a good SO question... WAT? If it hasn't been asked before, that's great. Another Q&A to add to the repository. If it has been asked before, close it as a duplicate. Why should it be closed simply because it's an easy question?
    – user4639281
    Commented May 16, 2017 at 16:49
  • 3
    @TinyGiant Let me get this straight. The guidelines on how does a good question look like are easy to find in the help center. And they are not the same as you seem to suggest. There are many reasonable questions, i.e. "In what year did Turing publish his famous paper?" - but reasonable doesn't imply a good fit for SO. The discussed question is grey area at best (and only thanks to the edits).
    – BartoszKP
    Commented May 16, 2017 at 17:21
  • 4
    How is that even remotely off-topic? It is asking how to find the duplicates in a list (with the requirement of getting the indices of each duplicate). It's a duplicate for sure, but there is no way that is off-topic. It is a practical, answerable programming problem that is unique to software development @BartoszKP
    – user4639281
    Commented May 16, 2017 at 19:34
  • 3
    @BartoszKP There are many ways to solve any programming problem. Should any question that has more than one possible answer be closed as too broad?
    – user4639281
    Commented May 16, 2017 at 20:19
  • 3
    @BartoszKP I would love to see that consensus. That seems highly arbitrary and possibly just your personal opinion.
    – user4639281
    Commented May 16, 2017 at 20:32
  • 4
    @BartoszKP That's a checklist of what a great question contains. That is not in any way a checklist of what is required for a question to be on-topic. A better example would be meta.stackoverflow.com/a/338846/4639281
    – user4639281
    Commented May 16, 2017 at 20:56

2 Answers 2

5

Yes, the close reason was incorrect.

The question has been reopened and reclosed twice, the first time as "too broad", which didn't seem quite right, and the second time as a duplicate. This final closing seems to have taken.

Edit:

Or not, the entire post has now been deleted.

Edit 2:

It has been undeleted.

Edit 3:

It has once again been deleted.

3
  • 1
    3, 20K+ users, voted to delete the question. As no new information was added that looks OK. Commented May 18, 2017 at 16:51
  • 1
    Yea, I'm a little disappointed due to the rep loss to me and my feeling that the duplicate close was sufficient. On the other hand though, I can't really argue with the decision to close, nor do I feel the question deserves to be undeleted.
    – River
    Commented May 18, 2017 at 16:57
  • 2
    Don't feel disappointed to this, the responsibility of losing reputations is not on the one who discovers the bad questions, but on the one who asks that, right?
    – ggrr
    Commented May 24, 2017 at 8:17
-5

Requesting an off-site resource would probably be the incorrect close reason indeed. However, it doesn't matter all that much. The important thing is that the question was closed.

As a rule of thumb: if a question should be closed but was closed for the wrong reason, leave it be. Don't bother re-opening questions just to close them for another reason. Doing so just creates extra work for everyone, by shovelling crap between various review queues.

Looking at the original question https://stackoverflow.com/revisions/43969753/1, it is a very broad question that just (not too clearly) asks how to search through a container with no specifics mentioned and no code or effort by the OP. Mostly it is a code begging/"read the manual for me" question.

This could have been closed as too broad, but any form of close reason is fine, since SO is not a code-writing service.

  • For reasons unknown, the post was then re-opened by someone who should know better.
  • After which it was again closed, this time correctly as too broad.
  • The edits did not change the fact that the question is still code begging/"read the manual for me". There is no reason to polish crap, just close it.
  • For reasons unknown, the post was then yet again re-opened.
  • And now someone has found a duplicate and closed it again, which should finally settle the issue.
6
  • 4
    It was reopened for good reasons as the closing reason was not correct. The person knew it better. Closing it for the wrong reasons is not a good practice regardless if the question should be closed or not.
    – kaba713
    Commented May 18, 2017 at 14:55
  • 4
    I think your "rule of thumb" is especially wrong in the case where the difference in close reasons is between "normal closure" and "duplicate closure" as it was here.
    – River
    Commented May 18, 2017 at 16:08
  • @kaba713 Did you have any arguments? "No I don't agree" is not an argument.
    – Lundin
    Commented May 19, 2017 at 6:34
  • @River The rule of thumb refers to over-zealous moderators who insist on opening up crap posts just to close them for another reason. In addition to creating additional, mostly pointless review work for everyone, this confuses the OP and everyone who reads the post - is the question ok or not ok?
    – Lundin
    Commented May 19, 2017 at 6:36
  • @Lundin: What do you mean by did I have any arguments? What kind of argument is it to close a question by a random reason just because it should be closed?
    – kaba713
    Commented May 19, 2017 at 14:16
  • 2
    Agreed that reopening and reclosing creates extra work which is a burden. But... it also rights a wrong which will no longer serve as a source of confusion, and ho boy is there a lot of confusion about closure reasons. Stack Overflow values correct and on-topic information, I don't think that this should stop at the content and should apply to all aspects which includes closure reasons.
    – Gimby
    Commented May 24, 2017 at 14:26

You must log in to answer this question.

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