I was wondering if users would be penalised in any way for posting examples instead of questions?
Is this site for questions only?
migrated from stackoverflow.com Jan 9 '11 at 3:15
This question came from our site for professional and enthusiast programmers.
You actual question must be a question, and your answers should be helpful information about the question. Your are totally free to answer your own question.
This isn't as restrictive as it sounds. If your example solves a reasonable problem, post a question asking for an answer to the problem and post your answer. Just do a check to see if its a duplicate.
If you want feedback on your example, figure out some specific questions to post with the code and ask away.
And if you have any future questions about the validity of a question or anything else about stackoverflow, meta is free for you to ask away. :D
If you think you just want to post a solution to some problem you came up with and will be helpful to others, I would suggest you to write a blog article about it, describing about the issue and solutions. If you don't have or want to have a personal blog there are free sites where you can post your code/article.
And if anyone has that problem in future your blog/article will show up in the web search. I don't see a reason to posting it on stackoverflow.
Usually it should be like: You have an issue/question -> ask on stackoverflow -> After getting /gathering appropriate answer /solution (that includes solution you found after posting the question) -> blog about the issue in detail and the solution to it pros/cons and point stackoverflow as a reference giving credits to the persons involved.
1: I wouldn't recommened just posting self question/answer post. You can get downvotes if you do that. Instead blog it somewhere.
2: In future if you have question about stackoverflow itself you ask it on META and not stackoverflow.
This site is for questions only. You will get downvotes if you post examples.
And why would you want to post examples?