When we flag an answer as "very low quality", we are saying that:
This answer has severe formatting or content problems. This answer is unlikely to be salvageable through editing, and might need to be removed.
I think the same principle should apply to questions. Instead of deleting the post, we should try to edit it to make it fit the site better.
Update: I edited the question to change "obscenity" into "insult", and explicitly stated that no offensive answers should be given. I also edited all answers containing potentially offensive output, replacing the output with:
Warning: The output of this program may be considered too offensive by some, and is therefore removed. If you really want to, you can see it by checking the revision history of this post.
From the moderator tools privilege page:
When should I delete questions?
Closed questions that are of no lasting value whatsoever should be flagged and deleted.
Do we really think that a post with 101 upvotes and 26 stars have no lasting value whatsoever? Personally, I don't think so. I understand that mods may have a different standard than we mortals, but is it so different that the opinion of 101 users is negligible?
Finally, I would like to draw your attention on the intention of that question (and the answers to that question).
In Shog9's post above he said,
do you really want this to be the site that's ok with intentionally hurting some people but not others?
I agree that posts that use strong languages to offend people should be deleted. But none of the answers are really there to offend anyone. A piece of interesting code is provided by the answerer, then a factual and objective description of what the code performs is included. The posts are not targeted to anyone. No-one is being intentionally hurt.
There's completely no reason to delete the entire thread.
P.S. In the duplicate post, @Chris Jester-Young said
Your question was popular, for sure, but popularity does not make a post "fantastic" or otherwise a good fit for the site
He mentioned programmer cartoons on SO as an example. However it is worth noting that the linked post was locked, not deleted. Can't we do the same?