How can I determine whether a 2D Point is within a Polygon?
I see a lot of archives like these in the frequent section from years back with some of the most elaborate answers one could possibly imagine to what is otherwise a question that would probably be shut down, down-voted, and considered off-topic today (this one likely to be considered too broad/opinion-based). The question is blatantly asking people for their personal best solution, and with a question that puts in no effort whatsoever into finding a personal solution.
But it's doing something interesting: it's asking a "competitive" question. It sets up the stage for people to compete to provide the best answer for a very broad question instead of, say, the quickest solution to a very specific problem.
In cases like these, I think broad/opinion-inducing questions are sometimes the perfect "bait" for these types of expert answers. When an expert is involved, the answers "save" what would otherwise be a very lazy question and turn them into some of the most revisited questions on the site that can prevent all kinds of new questions from being asked.
And I want to see more questions like this which "bait" excellent, professional-quality answers to extremely broad (and therefore generally-applicable) questions. They're the kinds we can link to people over and over. It's answers like the top answer there which drew me to this site in the first place.
Sometimes the most specific questions aren't going to be the types that rise to the top, since by being so narrowly-applicable to the author's use case, the answers lack this level of appeal with the rest of the world. But I have seen some of the rarer potential "expert baits" like the one at the top get shut down before anyone could even respond.
So I just wanted to kind of throw this thought out there -- no suggestions or implications, as a point of discussion. There are definitely plenty of "too broad/opinionated" questions which would only spawn vague answers that would be of little use to no one.
But I think there's another class that has often prompted some of the finest answers seen on SO. I think there's an awkward dilemma here where we're not so careful to make this distinction anymore when we hastily downvote or request to close a thread. How would we respond today to the question at the top, presuming it had 0 votes and no answers?
Duality of Purpose
A lot of what I see as awkward is this duality which tends to be mutually exclusive where:
- The site wants to be great for answering questions and helping the person asking the question.
- The site wants to become a great database/archive for finding past gems. This is the side that drew me, since some of the information I found initially while looking through SO were of a much higher professional caliber than most support-style sites. That quality was very alluring. To me this goes beyond preventing duplicate answers, as some of the posts on this site provide very educational information even to those who weren't seeking to ask the same question.
Trying to encourage people to ask questions that invest the proper effort, provide the necessary details, an MCVE, etc. hits #1. A lot of those guidelines are ideal for "troubleshooting" types of questions, but those types of questions tend to have very little applicability to anyone other than the author, as they force him/her to get exactly to the point and narrow down their problem. Yet they don't often tend to produce a question that could be applicable to thousands of people out there, they don't necessarily encourage #2.
Not sure what to do about this. I just wanted to kind of point out this awkward dilemma. A very "general" question is very dangerously close to "lazy/broad/prone to produce subjective answers", but there's a certain class of them which could contribute to that other aspect of the site, which is to become an archive of some of the finest programming-related answers out there.