I am going to first focus on your closing summary:
I am more interested in when the tags should be applied and why this
because I believe consistent interpretation of the site's guidelines is very important.
This site's guidelines, like those of any Stack Exchange site, are numerous and are therefore absorbed over time rather than on the first day someone uses the site. I think of them as a hierarchy starting with those we want people to become aware of and try to adhere to first:
- Those that are in the Tour
- Those that are in the Close reasons
- Those that are in the Help Center
- Those that are tagged faq at Meta GIS SE (and Meta SE)
- Those that are being fleshed out in Meta GIS SE (and Meta SE)
- Those that are yet to be fleshed out but are evolving as precedents in the way the community processes its Q&As
You cited Why is the Python tag inappropriate for a question about Shapely? and expressed concerns that the guidelines present within it were not being followed. That is a Meta GIS SE Q&A that I am acutely aware of because it is one where I modified my workflow to no longer remove python from questions about shapely and a plethora of other spatial Python libraries. That was not the reason that I removed the python tag from that question, and why I think your question here is not a duplicate of that.
The reason was to try and reduce the scope of the question to explore the GUI solution option first. The asker seems to make clear that this is their most important question and that a Python solution is a fallback. That fallback can always be asked about in a new or revised (if no answers) question that demonstrates a code attempt.
To elaborate some more, in terms of curating content on this site, like the question Creating polygon boundaries to group points based on common attributes using ArcGIS Desktop? which triggered this Meta Q&A, my thought process was as follows:
- The version that I first edited was https://gis.stackexchange.com/revisions/278270/2 and it included the key phrase:
I am using ArcMap 10.6 but also open to a Python script solution.
which I interpreted to mean that its asker was hoping for an answer from the ArcMap GUI of ArcGIS Desktop but that they would also be open to someone writing Python code for them. In effect this could be interpreted as asking two questions: How to do it using the GUI? How to do it using coding? With the emphasis being placed on the first question.
I chose not to edit out the second question, so that the keyword of Python remained there for anyone searching question bodies using "python" to find it and decide whether they wanted to write or look for Python code (and provide an answer). However, I removed the python tag because various guidelines from the Help and Meta GIS SE Q&As have indicated that many/most of those helping people with coding questions want to always see a code attempt first. This is consistent with our close reason below and is very similar to how Stack Overflow operates. We model a lot of our guidelines (especially those related to programming) on theirs so that moving between the two sites is not too jarring. Had I left the python tag then, to be consistent, I would have voted to place the question on hold.
Questions seeking help to debug/write/improve code must include the
desired behavior, a specific problem or error and the shortest code
necessary to reproduce it in the question itself. Providing a clear
problem statement and evidence of a code attempt will help others to
I think a number of us have been commenting for quite some time that if we see coding tags like python, arcpy, pyqgis, shapely etc we expect to see a code snippet first so that we volunteers are not viewed as a free coding service. However, I am not sure that "no code => no coding tag" has been said anywhere, partly because there is some grey in its interpretation. Occasionally, a coding question does not need code first but I think such questions should be rare.
- You added a tag for arcpy
- I rolled back your addition of that tag partly because the question did not mention ArcPy (just the broader Python programming language) and mostly because it contained no code. I also commented:
@GISKid for an arcpy tag to be applicable there needs to be a
code attempt in the question.
and apologize for writing that a little tersely, but I thought you would get the connection I was making to our "no code" close reason without me having to expand.
My overall view is:
- I think a question with no code snippet, that has not yet been answered, should very rarely be tagged with a coding tag like python, arcpy, etc
- I think it is fine for someone to find a question with coding terms in its question body and answer it using code. I encourage such answers with upvotes.
- Only when a Q&A, or just a question, or just an answer, has code in it, does it become appropriate for a coding tag like python, arcpy, etc to be applied. I often add these when I see questions with code answers that lack the tag to alert the coding sub-community to them.
- By doing the above we consistently present to site visitors that if they click on a coding tag they will almost always find code snippets that they can use and learn from.