Skip to main content
1 of 8
ideasman42
  • 47.7k
  • 14
  • 5

Dealing with patronizing answers (which assume you're asking the wrong question)

Sometimes I ask questions about fairly obscure topics (details of compiler, proprocessor behavior..., ways of using lesser known language features). (C/Python mostly though Im not sure it matters).

I wouldnt consider myself an expert but have been developing for ~10 years in one way or another, so by the time it comes to asking a question which hasn't already been asked (as far as I can see) its useually relating to some corner case.

The problem I find is that I get answers directed at some inexperienced developer, who doesn't know of alternatives: which are probably better in most situations.


Here are some examples...

If you want feature ****, C++ is really what you're after. In C++ you can...

...ignoring that the question is about **** language (and the code-base is well established and not about to jump-ship based on a single language feature).

(Readability > Performance), code is read more than its written, so you shouldn't try to...

...ignoring that some code is generated at compile time, runs in a tight loop, on embedded systems, on the GPU etc.

Of course disk access is going to be you're real bottleneck, so you should...

...assuming you're not writing CPU intensive code.

If you're customer is willing to pay for it...

...assuming you're developing for a customer who pays some hourly rate.

early optimization is the root of all evil, first you should try...

...right, its important to remember this, profile for the real world problems. etc...

Why would you write that? You should change your code to...

...assuming this is my code, rather than a 3rd party library I'm reviewing/auditing.


These kinds of answers often miss the point of the question and give some quick solution I'm already aware of, They may be helpful to varying degrees but avoid the question.

I rather not down-vote them since the authors are genuinely trying to help, but they tend to gloss over the question and parrot some conventional wisdom.

Whats a good way to handle answers like this?

ideasman42
  • 47.7k
  • 14
  • 5