Skip to main content
39 of 39
Add "show your work"
wjandrea
  • 32.6k
  • 21
  • 36

A lot. An absurd amount. In fact, asking a question on Stack Overflow is the absolute last thing you ever want to do. It is a horrible shame that will forever haunt you and your descendants. If the information that you need already exists, then you should be able to find it before asking.

You want to

  • Search. Like mad.
  • Read documentation.
  • Test your code.
  • Troubleshoot.
  • Read blogs.
  • Find books.
  • Follow tutorials.

After you have reached the end of your rope and the pain of not having the answer exceeds the shame of posting a question, that's when you can go ahead and ask. Because at that point, you will have done whatever research necessary to make it a good question worth asking.

...

That may have been a tad bit hyperbolic.

The important thing is that we want to help you, but you also need to help yourself. The more effort you put into your question, the more benefit you and future readers will get out of the answer(s). Understand that our time is not free, although we do not charge for it. Answering low quality, poorly researched, and/or duplicated questions becomes tiresome and does not contribute meaningfully to our goal of building a knowledge base, so please do your part to avoid this.

Doing enough research ensures that you'll have notes you can share to help inform the folks answering as to what you need. You'll have the necessary background information to understand those answers when they arrive. You won't have to contend with a poorly-written duplicate of a better answer that already exists somewhere else on the site. And you won't get frustrated by having your question closed, and the folks reading it won't get frustrated by having to close it.

With that said, if the critical comment you're receiving is indeed rude—you should flag it. But you should also assume good faith, try to understand the frustration that motivated it, and strive to do better in the future. That might include showing your work: what did you search for, what did you find, and how didn't it help?

Searching and researching is a skill, and mastery is achieved only through practice. The abilities you gain on the road to asking questions here will serve you long into the future.

Anthony Pegram
  • 126.5k
  • 1
  • 18
  • 7