Quite often, beginners' questions are about trivial mistakes. A good answer to such a question can be very useful to the person asking.
On the other hand, I would say there is a very low chance of another beginner with the same misunderstanding coming to the same situation and finding the existing question and answer.
Therefore, we can make a distinction between two types of questions:
- questions which are useful to the community, e.g. What is the correct JSON content type?
- questions which can help one person, e.g. create the for loop in the variable
If SO is about making a data base of programming questions & answers, then the latter is off-topic.
On the other hand, if it is about giving answers to questions about programming, then both are on-topic.
Which is it? Is there a written policy addressing this?
EDIT
Question Closing as a mental typo assumes that #2 is off-topic as "no longer reproducible" and proposes changing the description of "no longer reproducible" reason wording to explain that.
If such questions are off-topic, when do they become "no longer reproducible"? After being answered or before that?
In other words, should the OP be given a chance to get a useful answer before the question is closed? Or do we care only about the "future readers"?