Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Short answer: yes. If the question has faults, but is still merits an answer, there is value in that. I'm arguing that if the question is entirely poor and devoid of value, there would be no answers.
@Oded - so you're saying that the votes should only apply to the quality of the question, not the implied opinion? I thought this one was clear and constructive, yet it appears that the idea itself has resulted in down votes.
By answering the question, you took time out of your day to respond--that is a very personal investment. Even if you do not agree with the direction or content, you obviously care enough to voice an opinion on the matter, which suggests that there is value.
How can a bad question have a good answer? The answer would not exist in absence of the question, so doesn't it stand to reason that the question has a small amount of merit?