That said, the question - "Of course the Unsafe class is undocumented, but how can I use it in a real world scenario" - is pretty much the definition of "too broad".
That said, I voted to undelete and reopen, which appears to have succeeded.
That said, the question - "Of course the Unsafe class is undocumented, but how can I use it in a real world scenario" - is pretty much the definition of "too broad".
That said, I voted to undelete and reopen, which appears to have succeeded.
For every answer to this question, SO would be better served with a question asking "How does [Java internal or widely used library class] accomplish [thing that seems impossible in Java]" for which the answer is "It uses sun.misc.Unsafe in [this way]".
Yes, the information on this page is useful, but it's not stack overflowish.
Still, seems crazy to close it if more sensible versions of the question don't exist.
Either you're being sarcastic, or you have no familiarity with the history of science.
The rest of your answer shows another aspect of what's wrong with Stack Overflow: zealous mods who get an idea of the perfect question into their heads, and then who go out to purge anything that doesn't conform, regardless of whether others find it (and its response) useful or interesting.
This question is useful as a place for blogposts to link to, not as a primary answer to a question you might Google. So it's 'wrong' for stackoverflow in that sense. But no, I'm not agreeing that mods should have closed it, and I didn't say it should have been purged from SO. Luckily, it hasn't been, so we can stop worrying.
I completely disagree. If you are a new programmer who knows nothing about a certain topic/keyword/etc, googling "what would I use <x> for" is not only not being "up to no good", it's just plain common sense and curiosity. How else might one learn about entirely new things?
Maybe they would be better categorized into some group that is more appropriate, but then you lose the possibility of someone within that knowledge domain being able to answer the question appropriately.
Those questions run right alongside reading documentation for fun.
I suppose an overhaul to the infrastructure of question answering could help solve this problem - like questions have a maturity cycle / process in which they are developed into a more refined / edited sorts of comprehensive documentation, or even a better 'smarter' way of linking clusters of question together, or a way of moderating the authoritative direction of a question (rather than delete or replace, show a progression of modifications so people can learn what are model questions and what are less useful kinds).
Getting people to stop asking kinds of questions will never work, because they ask those questions precisely because they have not been trained in any sorts of formal internet etiquette. If you want to prevent the community from collapsing in on itself, I think the best solution is to modify the flow and connectivity of questions, so that they are intelligently inter-related, rather than relying on a sort of competitive singular universal form.
Also you give no reasons as to why your preferred way of asking questions is superior other than stating as a fact that "SO would be better served" by it.
That is an extremely good and useful question. It is called the bottom up approach. The fact that it might or might not be asked generally, has nothing to do with what we should do the times it is asked.
reminds me of accurate wikipedia articles closing or being removed because wikipedia was trying to be an encyclopedia, instead of the first source for information on anything and everything you want to know about
The rules should be bend when it is appropriate. I'd argue that this is one of those cases.
The true rule should be: Is this question useful to people? Will other experts be able to provide useful back?
The rule most in need of context-sensitive, question-specific interpretation is the closing of opinion based questions. The number of useful, highly-upvoted questions closed for this reason is the evidence that something needs to change.
Exactly, and it's my understanding that this is very explicitly not the rule - moderators do not care if something is useful, they care only if it "fits the guidelines" - actually guidelines is not the right word, laws would be more accurate.
I would disagree with it being called 'laws', because in the general sense laws can be disobeyed on occasion, and regularily are (extremely minor traffic laws, such as using the horn while stopped, anti-tailgating laws, etc. are routinely broken here in the UK -- I don't condone it, but it does happen quite a lot). In some cases police have the discretion to ignore offences of some extremely minor laws in favour of using that time instead to catch proper criminals. Hence to me at least, that does not convey the right mannerisms.
Perhaps 'sacrosanct law' would be a better alternative? :D
It might even introduce new terminology: "The chances that this question will stay open forever are approaching infinity..."