Clarification: I'm not asking for alternative close vote.
Look at the following question:
I have a list which contains a mix of strings and numbers eg
old_list = [23, 35, string, 42, string]
I would like list to look like this
new_list = [23,35,45]
Is there a simple way to do this?
On similar questions, I usually comment something like:
Please don't provide ready solutions for such questions. We don't want to encourage them here. Let's help OP by letting him try first by himself.
I really understand the intention of users to help, but I think that by providing ready to copy-and-paste solutions (even with explanation) is likely to achieve the opposite - encouraging users to ask bad questions and make them rely on others to provide a solution for them.
I'm really not sure how to handle this kind of posts; First I thought that since we no longer have the "lack of research efforts" CV, and the question has many possible solutions, I would go with the "too broad" option, but some users don't always agree.
What makes it harder on me is the fact that sometimes moderators give answers for such questions, and now I'm really not sure if I'm doing the right thing by voting to close questions asking "how to" without demonstrating minimal understanding or research efforts.
I would like to know how more experienced users would handle such questions.
Here's another example. Should it really be answered with a copy-paste answer? This will not be helping OP to learn by himself!
codez
topic