-1

Today I was reading How to ask a good question from the help center of StackOverflow and found this as a good example of a question:

Good: Why does str == "value" evaluate to false when str is set to "value"?

I tend to participate in Java Q/As and a question like this would be automatically downvoted and closed for being a duplicate of How do I compare strings in Java?

And this repeats for other programming languages as well:

(and on and on...)

I think this example should be changed. For example, a example of bad/good question would be:

  • Bad: cannot connect to database
  • Good: Why the database connection doesn't open if I provide the right credentials?

Open to other ideas to replace this example.

4
  • 4
    So if you post a great question, and then someone else posts a duplicate, are they both bad now? Aug 11, 2014 at 17:44
  • I don't really think it's a bad question just because there are duplicates. Pretty much all simple example questions which are valid have been asked before here at this point. As long as the help center also explains that you shouldn't post dupes, I don't see a problem here.
    – eddie_cat
    Aug 11, 2014 at 17:45
  • @SamIam no, but this specific case is not a good question for the site anymore. Aug 11, 2014 at 17:45
  • @LuiggiMendoza and what would suggest? Would you prefer they do it purely in rational algebra? example: Good : Why does problem A exist when I operation B?
    – Mike
    Aug 11, 2014 at 17:54

1 Answer 1

8

That specific section of the help center is merely discussing how to write a descriptive title that accurately explains the question being asked. It's not discussing the on-topic-ness of these example questions, nor is that particular section discussing doing sufficient research. There is a section that mentions that; it's the section just before this one.

Trying to use particularly complex questions (that would represent questions that are harder to research answers to) is only going to over complicate the point that that section is trying to make. It would draw attention away from the clarity and descriptiveness of the title by overemphasizing other topics.

Were the help center to have a complete example question designed to exemplify all of the points mentioned then this would be an important consideration.

3
  • I suppose perhaps maybe a tip or info message on that help topic to let them know that the "actual topic of the question maybe be duplicate, as such would not be a good question" or perhaps just one of those disclaimers: DISCLAIMER: "Examples listed may display traits of Bad questions"
    – Mike
    Aug 11, 2014 at 17:56
  • 1
    @Mike Given that the users will have just finished reading the section on doing sufficient research mere seconds before looking at these examples, it seems rather unnecessary to repeat it again half a screen length later. Each of these points need to be as concise and understandable as possible. Adding in a text like that would likely hamper, not help, the quality of this resource.
    – Servy
    Aug 11, 2014 at 17:58
  • I agree completely, this isn't really an issue but if people were to make it one, I was just proposing a solution. Although I don't believe this is even necessary.
    – Mike
    Aug 11, 2014 at 18:00

You must log in to answer this question.

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