Sometimes I ask questions about fairly obscure topics (details of compiler, proprocessor behavior..., ways of using lesser known language features). (C/Python mostly though I'm not sure it matters).
I wouldn't be so presumptuous to call 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 from searching on SE and other resources) it's usually 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 it's written, so you shouldn't try to...
...ignoring that some code is generated at build-time, runs in a tight loop, on embedded systems, GPU...etc. or that less readable code is an acceptable tradeoff in some situations.
Of course disk access is going to be your real bottleneck, so you should...
...assuming you're not writing CPU intensive code.
If your 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, it's important to remember this, profile production work-loads. etc...
Why would you write that? You should change your code to...
...assuming I'm asking the question about code I wrote, 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".
What is a good way to handle answers like this?