0

I found the Manually raising (throwing) an exception in Python question today. No doubt that it has good answers. But the question itself is too broad and doesn't show any research effort. I thought that questions like "How do I do that? (I'm too lazy to read the basic documentation or try something)" are plain not welcome here.

This question is referring to historical significance of old questions. Please understand - I'm really asking about this specific example of asking for basic language construct which is broadly described in official Python documentation which was available in 2012. Come on. Asking Google How can I raise an exception in Python gives https://docs.python.org/2/tutorial/errors.html as the first result...

9
  • 13
    It's six years old and has been viewed 355,100 times. That that particular OP now has 35,500 points may indeed be testament that the reputation system has failed, though
    – Pekka
    Commented Feb 10, 2016 at 14:30
  • 2
    You are assuming that reading the basic documentation was an option back when the question was asked. Which, while probably true for Python, isn't always the case. Quite a few of those uber popular questions owe their popularity to the fact that documentation was either non existent, or unparseable back then.
    – yannis
    Commented Feb 10, 2016 at 14:46
  • 2
    @Yannis I'm not assuming anything. I do know that Python documentation was available in 2012 without a problem. Commented Feb 10, 2016 at 14:49
  • 3
    So downvote and move on!
    – jonrsharpe
    Commented Feb 10, 2016 at 14:56
  • 6
    This is 6 years of high Google ranking at work. Still the 2nd hit when you query "python throw exception", surprising. 0.17% of the programmers that looked at it actually voting it helpful is perhaps not so impressive. Commented Feb 10, 2016 at 15:25
  • repgazer's make me puke.
    – r3wt
    Commented Feb 10, 2016 at 15:47
  • 4
    It's hardly worth getting worked up into a tizzy over a question like that one. It's about 100 times better than the 5 questions that just got posted while I was writing this comment.
    – Cody Gray Mod
    Commented Feb 11, 2016 at 12:08
  • @PeterMortensen I don't think copy editing a closed question is a good idea, because it makes it unnecessarily appear in the reopen votes queue. Commented Feb 11, 2016 at 21:56
  • see also: Should I downvote old, low-quality answers/questions?
    – gnat
    Commented Sep 12, 2017 at 9:45

3 Answers 3

16

To be clear, "How do I do [something]" and "I'm too lazy to try something" are not the same thing.

The reason such questions are so popular is because many people find them useful or interesting. Like it or not, those questions attracted votes because they attracted views.

If you google "How to foo the bar," what would you prefer to find on Stack Overflow? A question titled "How to foo the bar" that has an answer that clearly explains how to foo the bar? Or a question titled "How to foo the bar" that is really just someone's highly-specific problem they encountered while fooing the bar?

I know which one I'd prefer.

The insistence on "What have you tried" has turned Stack Overflow from a general computing resource into a debugging platform.

Further Reading
How to Debug Small Programs

7
  • 2
    To the downvoter: was I somehow unclear?
    – Robert Harvey Mod
    Commented Feb 10, 2016 at 15:17
  • 1
    I agree with you. Also, these questions are not what's "valued" in the end, it's all about the quality of the answers. If you post a highly specific, clever and well-structured question, that's good, but you will never get as much attention (and thus answers and upvotes) as someone with a really basic question that anyone in that field could answer within 3 minutes (if even!).
    – Seth
    Commented Feb 10, 2016 at 15:19
  • 10
    Not the downvoter, but someone probably found your opinion heretical. Clearly Stack Overflow is meant to be a debugging service.
    – BoltClock Mod
    Commented Feb 10, 2016 at 15:20
  • 2
    @BoltClock: Just another day at the office.
    – Robert Harvey Mod
    Commented Feb 10, 2016 at 15:20
  • 1
    It's ironic really, because "what have you tried" is not meant to be taken literally but as a friendly way of prodding the user into not treating SO as a debugging service but instead presenting a well-thought out and broadly-useful question about a programming language. Sadly too many people are too stupid for this to have worked. :) Commented Feb 14, 2016 at 13:59
  • @PreferenceBean: That would be news to me, since it is hardly ever interpreted that way. Why keep using something that never works, that actually causes unintended side-effects?
    – Robert Harvey Mod
    Commented Feb 14, 2016 at 15:48
  • @RobertHarvey: Good question. Commented Feb 14, 2016 at 15:51
3

The site's standards have changed over time. That question would likely no longer fly these days.

I agree it's a bit unfair those old questions get to stand, but they contain too much useful information to be removed altogether.

1
  • 4
    I think it's more unfair that new ones that are good don't get the chance to stand.
    – Kevin B
    Commented Feb 10, 2016 at 15:51
1

The attitude towards "bad" questions has changed drastically on SO over the years, and, if you'd ask a question like this nowadays, you'd probably lose a lot of rep.

Just take a look at the other popular questions of that person: they all share the same "bad" style and were also posted between 2009 and 2011, but they still attracted a lot of good questions and were upvoted a ton.

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