Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [code-examples]

The tag has no usage guidance.

5
votes
1answer
278 views

Is there a place for “E.G. images we can hot-link in code examples”?

For a long time on Stack Overflow, I have been encouraging people to hot-link to images in code samples that involve images. An easy way to do that is to upload the image to the question and then use ...
9
votes
2answers
144 views

How should I go about adding a code example to an existing answer to a question

I recently tried to edit this answer "Resolve absolute path from relative path and/or file name" and was slapped down with "This edit is incorrect or an attempt to reply to or comment on the existing ...
1
vote
0answers
34 views

Fiddel-style sandbox [duplicate]

Possible Duplicate: Custom jsFiddle for Stack Overflow I've noticed that more and more questions use fiddel to demonstrate their problem, and more and more answers have links to a fiddel as well. ...
2
votes
3answers
2k views

How to handle “can you provide an example” in broad question?

I found that sometimes people ask broad questions where I provide only some high level description how to solve the problem. Sometimes the OP is skilled and he knows how to deal with the description ...
120
votes
9answers
6k views

Custom jsFiddle for Stack Overflow

So, I'm a JavaScript developer (mainly), and I've been using Stack Overflow for a bit now. I keep finding myself needing to use http://jsfiddle.net (or similar) in order provide demos in my ...
21
votes
2answers
6k views

SSCCE: How to provide examples for programming questions

I saw this today. It's a description of Short, Self Contained, Correct (Compilable), Example. This would be a useful reference for many as a guideline for how to make code usable in questions on ...