Down-voting a question is like saying, the question is stupid.
I recently gave an example of some code I had written. I asked what would be the cleanest way to get the function that I was looking for. Not, hey can someone write me some code to fix this? My question got down-voted. Why? Some of the best questions that helped me, were the ones that got down-voted.
You say that it's about learning, but most of us learn by example. Why not ignore a question if you think it's stupid, why insult a person, and make them feel bad by insulting them with a negative indication for wanting to learn? This site has helped me very much, but I have never questioned myself about wanting to learn and asking a question until now.