Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

The type of question I am talking about is when someone is clearly after code instead of trying to understand the problem themselves. I had a question where, I think, I have answered in enough detail with some code snippets and I keep getting the person asking me to post my full code. What is the protocol if you know the person is simply after the whole source code. I am relatively new here so I don't want to sound mean as I am still in the learning stage of programming myself, but I have seen some answers where people ignore questions when it says, "please post your code", is this the right thing to do?

For the question I answered I was close to posting the source code, as I'm sure there are times I would like the same(!), but I thought other users may complain. In the end the question actually got closed but other users.

share|improve this question
up vote 12 down vote accepted

If all the question is asking for is code, I tend to comment asking the OP provide examples of their source and explain where they are stuck. I also explain that on SO we expect some effort to be shown before we answer. If the OP is unresponsive, or the response is completely unrelated to what I have asked for, I will end up downvoting and voting to close as NARQ.

If you answer and believe your answer is detailed enough without code, you are free to ignore such requests or comment back to the OP explaining that you have given enough detail - ask them what exactly where they are stuck...

share|improve this answer

You don't have to answer.

Just click away and find another better question to spend your precious time answering.

If it's a really bad question then vote it down and/or vote to close - but that's optional. However, if the OP has written:

Please post your code

then I wouldn't answer as a matter of principle and would probably down-vote and vote to close.

share|improve this answer

You must log in to answer this question.

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