In my understanding, What have you tried or my default response (Please share your effort) does not only point to code.
Yes code is very important, but these comments mean have you put in any effort regarding the problem?
Note, effort can be in terms of:
- Code implemented
- Searching through any search engine or portal
- Broke problem into smaller problem statements and solve them individually.
For example a very common problem statement,
List names and marks of Maths and English of all students who have scored more than 70%.
Now this may be complex problem for someone but if you break it like:
- Get all students who have scored over 70%
- Get necessary details of every student.
You have partial scope and you can try links on filtering list of objects and fetching values from an object. Now if you share link for both problems saying I have found this link
for a
and this link
for b, but how to use them together, this shows you have tried something. Yes, there is a possibility that your search query was not good enough, but sharing this information will show users, your sincerity and they will not only help you with proper solution but also help you to improve your query.
Sharing efforts also tell user a lot about user who is asking and based on this, answer will be different. For a beginner, you will make answer more descriptive but for a well framed specific question, answer to that area will suffice.
Yes there are cases where you have no idea where to even start searching. For such cases, mentioning this in question will also help users as they know OP is a beginner and is not aware of terminology specific to technology and will frame answer accordingly.
So all in all, I believe its valid to ask for efforts, but as mentioned in community answer, you should use proper tone.
https://meta.stackexchange.com/
banned?