With that attitude no one should be interested in helping you. I'm not, not anymore.
Were you in the first place? It seemed like you came here with the perspective of "global variables are bad, you're probably doing something wrong if you're using them". Having to justify your choice of tool when asking for help with it is frustrating.
This has branched off topic enough, but my thinking is, people often don't know what their problem is. They know that they have a problem and they have an idea about what it is, and so they ask for a solution to what they think the problem is, leaving out the details that they think are extraneous. But those details might be important and might entirely change the context of their problem. The most common first things I post in threads like this are probing questions to try to understand the nature of the problem. If a person doesn't want to give up that information, and wants to be snarky about it, I see no reason to devote any time to helping that person.
Discussion split from
Global variables in a C++ project. I think this deserves its own topic.
Asking and answering technical questions both involve a level of discipline and effort to be productive. What principles can we follow to make sure that we're providing the most helpful answers, and that we're asking questions that invite them?
For guidelines on asking questions, I usually refer to Mike Ash's
Getting Answers article. It's written for IRC, but applies pretty well to forum posting too. Bullet points from it repeated below:
- Explain what doesn't work
- Provide everything up-front
- Post your code
- Do your research beforehand
- Do your research during
- Do your research afterwards
- Don't post the same question repeatedly
- Follow up after you get an answer
- Treat the list like people
- Always consider the answer
I think it would be helpful to have a parallel set of guidelines for providing answers, and debate any of the above points if necessary. Here's a first pass off the top of my head. Feedback and additions are very much welcome:
- Provide links to relevant content (documentation, etc.) referenced in your answer whenever possible
- Don't try to guess an answer if you have no knowledge of the subject (or at least be very clear that you're guessing)
- If you want to question someone's chosen tool or method, try to provide a helpful answer to the question they asked first
- If you're not sure about your answer but can verify it easily, do so before posting
- Ask for clarification when necessary
- Consider that future readers with the same problem may find the thread, so ensure that your answer will remain visible and relevant if possible
- Assume the person you're trying to help is intelligent
Any thoughts or suggestions?