Motivation
I have been seeing lots of "best practices" questions in the java, javascript tags recently on my front page, some years old, out of date when they were written and people answering them with their opinions years later.
So I got curious and did a search and examined the first 50 questions of a couple of tags I am active in. I could not find a single one that was not full of opinion based discussion and rambling that was either worst practices when it was written or just plain misinformation from then and now.
Off-Topic for multiple reasons
Why these are inherently poor questions is well documented
When you look at the answers you can see many are just recommendations questions in disguise at best. Best Practices is inherently opinion based and temporal even when there is consensus on a single opinion.
Best Practices questions worded where they fall afoul of the spirit of these 2
guidelines should be closed for any one/all the reasons above.
Best Practices change over time! They are all off topic in one or more of the following reasons asking for recommendations, too broad and opinion based.
In almost every case there is no code either, that is another off topic strike.
Best Practices != Idiomatic
If a question with Best Practices in the title is actually about something more specific then the title needs to be changed. If it is about idiomatic code, that is probably on topic. Best Practices is at best, argumentative opinion. Idiomatic practices are empirical by ubiquitous consent by adoption and/or usually codified somewhere ( Python PEP 8 and 275 comes to mind ).
Best Practices questions implicitly are asking for your favorite. Idiomatic questions are asking for what makes something standard based on the published or agreed upon standard, which is an empirical answer that can be backed up with evidence. You opinion on whether the idiom is a best practice is an entirely different opinion based subject.
An example is accessor methods in Java Beans,
getXXX/setXXX
methods are idiomatic Java. They are specified in the JavaBeans standard. Now if they are a best practice is arguable.
Straight from the "Don't Ask" page in the Help Center:
If your motivation for asking the question is “I would like to participate in a discussion about ______”, then you should not be asking here.
Regardless of intent these questions also generate lots of discussion. So they are implicitly asking for discussion of everyone's opinions. They all devolve into a you are wrong argument between two opposing camps. When most likely both sides are wrong, especially if I disagree with them both. ;-)
To prevent your question from being flagged and possibly removed, avoid asking subjective questions where …
every answer is equally valid: “What’s your favorite ______?”
your answer is provided along with the question, and you expect more answers: “I use ______ for ______, what do you use?”
Every Best Practices questions is a "What's your favorite ____?" question or it is an "Whats idiomatic?" question that needs the title changed.
Many show what the questioner is doing and asks falls afoul of the second guideline. "Here is what I am doing, is this a best practice?"
Migration
Some of these might be on topic at Programmers because they are about programming and are subjective but in scope there, but getting things migrated there is an act of futility in most cases.
Take Action
Who wants to help edit/close/migrate these questions as appropriate? or at least edit Best Practices out of the titles and replace them with better titles?
At the least these are just "tagging in the title" and that should be discouraged if nothing else.
Some of the higher rated ones that just have a bad title are probably good canonical-answer candidates.
And just to be clear, I used the java tag as a strawman. If you are not active in java, please feel free to take a shot at cleaning up the tag that you do have relevant activity in.
###Feature Request
We do not allow best-practices as a tag. I think we need to prevent it from being a title as well.