I think these questions invite low-quality, short, code-only answers and decrease the overall quality of questions on the site. They are too narrowed down on a specific issue and leave very few possible answers, and can be answered with a mere comment. I think the ought to be closed, ideally with a "too narrow" close reason.