Here is the post that prompted me to write this. Initially, the question was (paraphrasing here), "How to recursively ask the user to input a number until a valid number is entered."
Two people answered and I commented, and in all three cases, the response to the OP was (paraphrasing again), "Don't use recursion for this, use a loop."
The OP responded by editing the question to add, "FYI: Looping is forbidden".
Clearly the OP is not interested in best practices. He just wants someone to do his homework for him. But as I see it, the answer that the OP wants (code that recursively prompts the user for input) has absolutely no value to future visitors to the site, or is harmful (to unsuspecting novice coders). It seems clear to me that the answers should reflect best practices, regardless of what the OP's homework assignment says.
Therefore, I downvoted and voted-to-close with this custom reason, "I'm voting to close this question as off-topic because the restriction that "Looping is forbidden" means that this question has zero value for future readers."
My question: Is that close reason valid, or should we post answers that do not reflect best practices?