It's pretty subjective. The usual answer is something along the lines of "unsalvageable garbage" - so not just bad, but almost *offensively* bad, and extremely unlikely to improve. The problem with flagging "code dumps" is that determining their merits generally requires a reasonable familiarity with the technologies involved; they're definitely not *ideal*, but sometimes a snippet is exactly what the asker (and other readers) wants, and the answer will suffice. They still get deleted on occasion, either in response to flags or by 20K users who can vote to delete downvoted answers. The latter is probably ideal, as it involves voters with a non-trivial amount of experience. In the case of your example, I would probably just downvote. ###See also: https://meta.stackoverflow.com/questions/338887/how-do-you-strike-a-balance-between-flagging-low-quality-answer-and-having-you