In order to answer this loaded question, we need to establish a couple of premises:
- Every simple programming problem has been asked at least once before. Oh, yeah, "new frameworks and libraries emerge every day", but that fact doesn't apply to 99.9% of the questions that get asked every day.
- Those simple problems have not been asked properly, and often don't get answered properly. Yes, they are recognized as "canonical" by experienced users, because they recognize the problem and the patterns used in the answers, but to an inexperienced user, those questions could as well have been written in Chinese, because the problem statement isn't clear, the code isn't generic enough and answers rarely ever explain the problem, its solution and the implementation of said solution, let alone the possible alternatives and drawbacks of each.
- An awful lot of people asking questions are not experienced enough to break down their problem into the smaller parts that have in fact already been asked, solved and answered. This is part debugging experience, part vocabulary.
- People don't understand the knowledge base aspect of Stack Overflow and just want to "help" these poor newbies by churning out answers by the dozens a day without, again, properly explaining the code they're posting and why that code might in fact not be the best solution to the poorly described problem of the OP.
- Answerers that are here for the reputation, or who genuinely believe that they're helping people by Googling the question's title and copy-pasting the code off first hit without attribution and, again, the explanation found at the source, find Stack Overflow so "negative", and try to find the beauty in every question - even if that question has twenty possible answers and should be put on hold and be clarified using comments and editing first.
Not saying any of those apply to the answer posted to the question linked to here.
You can't solve #2, because if you edit code in questions and answers, you will get scolded because now the answerer will have to support your version of their code, and that edit will be rolled back. Or because someone doesn't understand your title that better covers the problem, because they always used Google to find that question based on its old title.
So we will never have great canonicals for most problems, unless someone wants to re-write and support all canonicals.
Given "too localized" isn't a close reason anymore, its alternative in this case is "too broad". This is because the OP is asking: "Explain me all the gaps in my knowledge that speaks from the wording of my question and the problems in my code, and at the same time, fix my code", thus requiring a mini one-on-one course that won't be particularly helpful for anyone who's reading the question after them. Alternatively, it'll just attract "try this" answers that only contain code dumps.
Of course, if you perceive at least one of the OP's problem to be answered in a duplicate, feel free to close-vote as duplicate of that one to at least partially solve their "too broad" problem, and point out the rest of the problems with the post in a comment.
This can and will be seen as power abuse by some, and they will start discussing with you why they think you should reopen the question so they can post their answer ("I know the answer [and it's slightly different from the duplicate], so it can't be unclear/to broad/duplicate..."). You can safely ignore this discussion as there are no repercussions and the reopen review queue fails just as hard as any other.
I'm not trying to be a negative nancy or anything, but the site seems to delve into "I have not enough experience or interest to narrow down my problem, so please do that for me and at the same time fix my entire problem". The result of that is that factually every question is "too localized", and unhelpful for anyone else (because yeah, the combination of problems and variable names together is unique) and the problem is improperly worded (and thus unfindable for others), and that answers to unique (sub)problems get repeated, copy-pasted, poorly explained and even more spread out over the site than is already the case.
So do we want Stack Overflow to be "hand-held debugging and problem solving on the fly" (a.k.a. a forum) as opposed to an easily searchable knowledge base full of singular high-quality questions and answers? Then perhaps the staff should send out a Public Service Announcement stating "this is now okay", so people won't scramble to Meta to find the proper close reason for such questions and battle in comments about whether such questions should actually be answered.