So as we all know, Stack Overflow is for specific questions which are related to programming. It is inappropriate to ask for the opinion of others, look for recommendations or solicit polling.
I am aware of the fact that over at Programmers.SE, it's OK to ask conceptual questions and questions concerning design decisions/patterns. However, I've just run into a question I want to ask, and I am not sure if it would be a good fit for SO, Prog.SE, Code Review or perhaps another SE site.
My question goes something like this:
I know that generally, one should use function
foo()like this in order not to leak memory, but I've found this and this use case where I think it's not necessary because of reason X. Am I justified not to obey the de facto good practice in this case?
So this is kind of a "semi-conceptual" question: it's about good practices (that's why it may be suited for Prog.SE), but it's also very specific, it has a narrow scope (that's why SO would be perhaps the right place to ask it). Furthermore, my code is working, this would be a valid reason to ask it on Code Review, I believe.
Searching Meta for questions similar to this one brought up this question and this question and this answer, however, after having read them, I am still not entirely confident as to which Stack Exchange site I should choose. (I would really like to get it right because pollution and off-topic garbage are horrible, and I'm also one of those who frown upon this the most frequently...)
What do you say about that?