Skip to main content
3 of 6
edited tags
Cerbrus
  • 72.6k
  • 65
  • 370
  • 513

How to disambiguate a question between a “fix my code” and “I politely believe the tools I am using have a bug” and what to do with it?

Sometimes, I face the embarrassing moment when I miss a boundary, forget to initialize or something, spend quite a few hours debugging and start to blame some tool API or compiler because somehow my brain believes code is correct. I believe this may happen to others. In this configuration, I usually call a friend or colleague sufficiently proficient to help me solve my issue. Luckily, I am surrounded by talented people, which might not be the case for everyone.

I believe that sometimes the boundary between “fix my code” and “I am really stuck, I believe the Tools I am using have a bug” is a matter of appreciation.

On the other hand, the first step in reporting a bug in a tool is to illustrate an example where behavior is not as expected. The humble user of the software would then ask why his code does not behave as expected, and sometimes (maybe not that often), answer is: there is a bug in the tool, it is reported here, with a link. Is this Q&A data not valuable for stack overflow ?

So my question really is what to do with these kinds of questions? I understand the first kind, where the “fix my code” trait of the question is so obvious that it should get removed, since considered as noise. But doing that too harshly leads to exclusion of the second kind. Also, what to do with the answers from people trying to help, spotting the issue in the code?

Some answers get commented with: this is not a good answer, and by the way, you are answering a “fix my code” question which does not help the stack overflow community and generates noise around real valuable answers. This is a fair point. But then, what is the use of community wiki? Does it mean Q&A pairs which don’t have enough value should be removed from Stack Overflow? Does it mean that newcomers need to learn all of this the hard way?

Maybe it could be useful to add a flag or trait to the question illustrating that we may be in this configuration, and the answer should not be considered the same way as some other more valuable answers. Hence, some very demanding moderators would simply ignore the question.

Finally, there might be alternate place for such questions, do you know any?