StackOverflow has had runnable snippets for a number of years. I notice the feature is absent from this site.

It's been noted that having source code in your question is okay here, so will this feature ever be implemented?

  • 4
    Not sure if such a feature would not give people the very wrong impression that coding questions are on-topic on this site. Even if the number of such questions has gone down since the site name was changed, there are still too many ignorants out there who don't care to inform themselves about the site's focus and its distinction from Stackoverflow.
    – Doc Brown
    Feb 20 '19 at 7:02
  • 2
    runnable snippets would only be a JavaScript thing, which would be available to a minute fraction of questions we receive. Most are language-agnostic, or assume Java, C#, or Python.
    – amon
    Feb 20 '19 at 9:23
  • @amon: your comment is fine, but you may be astonished if you check the question count for tags C++, PHP, Javascript, and Python.
    – Doc Brown
    Feb 20 '19 at 21:39

I don't see the need for that here.

While code is OK most questions won't include it because they don't need it. It seems to be overkill to enable something that will only be used on a handful of questions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .