Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I've written some nice and well commented code snippets I would like to publish on Stackoverflow for the others. Nevertheless I wasn't able to find out if there is even this possibility. Does anybody know, if SO has some service for posting code snippets?

share|improve this question
I put a blog together of my best Stack Overflow answers. I've seen other people on Stack Overflow do the same. I've kept my writing skills up by writing for the blog. Maybe you could publish a blog with your code interests? – Gilbert Le Blanc May 3 '13 at 14:00
Seems like a nice idea to me :) thx for a tip – Dworza May 4 '13 at 10:24
up vote 7 down vote accepted

No, there's no such feature. Stack Overflow isn't a blog service or a code hosting service.

You can use the "About Me" box in your profile for this though. Post a few links to your favorite snippets or to your snippet repository.

The other thing you can do is "disguise" your snippets in self-answered Q&A pairs. But if you go this route, please keep in mind that self-answered questions are subject to the same rules as all others. You must have a real question, with a concrete problem that your code snippet would address. (And the snippet would need to be included in the answer, not just linked to.)

share|improve this answer
thanks... I just have a few snippets on my HDD, I've written a few months ago so I just wanted to post them somewhere :] – Dworza May 3 '13 at 7:52
You can use things like to share your snippets easily (and post links to those in your profile) for example. – Mat May 3 '13 at 7:55

If you're able to come up with a valid interesting question for each of the snippets so that the snippet answers the question, then feel free to post the questions and post the snippets as answers (with comments and explanations).

share|improve this answer

You must log in to answer this question.

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