I noticed this question and it got me thinking about how to keep questions that are obviously opinion-based from ever getting asked.
In this particular case, the question has a "correct" answer, so I didn't flag it as opinion-based, but in many cases, the use of the "5 W questions"[1] are a strong indicator that there is an opinion based question in the works. My understanding is that there are filters that flag questions without any code as being probably low quality. Can a filter be written which looks for questions with any of the 5 W's in the title and no code in the body and pops up a reminder about opinion-based questions or a link to the "How to Ask" page?
EDIT: As noted in comments, "Where" is a SQL keyword (and thus flows into other languages/frameworks, such as Rails). I would say there are common tokens, "Why does", "Why is", "What was", etc. which indicate that somebody is looking for an opinion.
[1] The 5 W's being "Who, What, Where, When, Why". "Who" and "When" may not really need filtering out...