Hot answers tagged

18 votes

Writing code snippets to get quicker answers

A code snippet that is included in a question here should not be just a copy/paste from a larger script that you are working on, and it should not be that larger script in its entirety. It should be ...
8 votes
Accepted

Asking code review questions for GIS related code?

Code reviews on GIS SE have been discussed on this Meta twice previously in: Code review for a specific piece of code What to do about "what's wrong with my wall of text?" type ...
  • 64.2k
7 votes

Can we get Stack Snippets enabled?

This request came up again in the site design announcement which made us realize we never responded publicly about this. Sorry about that! I think it wasn't totally obvious from the initial release ...
7 votes
Accepted

Modifying custom close reason for when pictures of code rather than formatted text are presented?

I sympathise with Joseph's answer; however I have another suggestion: Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the ...
  • 9,971
6 votes

Is it necessary to add a minimal code to question when self-answering?

When voting to close I assess each question on its merits but I also try to place it within the context of its Q&A as presented at that time. I may or may not vote to close a self-answered ...
  • 64.2k
4 votes
Accepted

Replacing MCVE with Code Snippet in custom close reason?

No. I'm admittedly pessimistic, but I think assuming that a user would even click on the link in the close reason, much less read through a question and then find the answer that pertains to them, is ...
  • 6,171
3 votes

Posting code and its link on GIS SE

Posting just a link to your code in another repository will usually see quick votes for your question to be closed. Instead, try always to be Writing code snippets to get quicker answers and then ...
  • 64.2k
3 votes

Guiding authors of code related questions to post actual code?

To encourage users to post code, the community now (four years after the question was asked) seems comfortable voting to close questions about code whenever they do not contain a code snippet that ...
  • 64.2k
3 votes

Modifying custom close reason for when pictures of code rather than formatted text are presented?

We should perhaps mention the format button specifically within the text so that the asker can be immediately told how to format their code text. E.g.: "..., a specific problem or error and the ...
  • 72.9k
2 votes

Questions closed for "a specific problem/error and code to reproduce it" when the question is not about an error

Perhaps such questions could be closed "as unclear what you are asking" instead. Basically, in many of these questions there is insufficient detail to write an answer, but Google Earth Engine is not ...
  • 76.1k
2 votes

Code blocks are hard to distinguish from normal text

I had not noticed this but, if I have understood your concern about it, then I do not think it is anything to worry about here because we always try to ensure that we have a code language setting for ...
  • 64.2k
1 vote
Accepted

Is a Pythonic MCVE acceptable for this top voted accepted GIS SE answer?

Until you post your question it will be difficult to assess whether it is Too Broad for focused Q&A. From https://stackoverflow.com/help/minimal-reproducible-example, as long as the code you ...
  • 64.2k
1 vote

When is it appropriate to tag Python or Arcpy?

I am going to first focus on your closing summary: I am more interested in when the tags should be applied and why this isn't consistent because I believe consistent interpretation of the site's ...
  • 64.2k
1 vote
Accepted

Tweaking custom close reason for poorly framed code debugging/writing/improving questions?

I propose that we tweak the wording above to become something slightly broader: Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error ...
  • 64.2k

Only top scored, non community-wiki answers of a minimum length are eligible