I've noticed that in code related questions on gis.stackexchange, particularly OpenLayers / Leaflet / Javascript ones, that new people are not posting up any code examples.

The example that prompted this question (one of many though) is How to deal Leaflet map control checkboxes

This doesn't seem to be as much of an issue on stackoverflow, so I'm wondering what how best to prompt users to write code. I will be up front, I don't spend much time on stackoverflow, so I'm not sure whether they have procedures in place to help with this issue.

I've noticed that the FAQ doesn't mention anything about code samples for code questions, would this be a worthy addition?

Jon Skeet has given some excellent advice to asking good programming related questions. Perhaps another inclusion into the FAQ?

Also if the code is javascript related, a jsfiddle is a MASSIVE help in solving a question.

Even something like a canned response to give as a comment would be helpful.

Any ideas on how to alleviate this issue, if you see it as an issue?

share
4  
See also: meta.gis.stackexchange.com/questions/915/… –  blah238 Dec 9 '12 at 23:36
    
+1. You might consider posting an answer to your question similar to this one. You can opt to write about a specific software or in a general manner. If it is a good answer (and it probably will), this thread can be labeled faq. –  Andre Silva Oct 20 '13 at 14:27
add comment

You must log in to answer this question.

Browse other questions tagged .