I think we should have a separate section for submitting code snippets. Because, this way the tutorial articles and the code snippets get mixed together, and there is no separate search option or anything to find a particular code. But, the code snippets should be given status of articles i.e. they should be eligible for the AOTM contests, or may be COTM contest (if shabbir wants) Yeah, may be shabbir can redistribute the 50$ allocated to AOTM into AOTM and COTM.
I was thinking of splitting into languages like programming / web but I think you have no option for same section and separate as OTM
I was going to add that option too : "No separate place for snippets + COTM for code snippets", but I thought that the purpose of creating this thread was to discuss abt the first thing : "separate place for snippets" and not the second : "COTM for code snippets". BTW, why would not you like a separate section for snippets ???
Because code snippets without any explanation is of little use and having them as articles is fine as well. We can separate always with Google Search for what we are looking for
I too agree with Shabbir, Guess people would not be interested to check the code that has no explanation.
When did I say that code snippets should not be accompanied by explanation ?? All I am trying to say is that, we should have (for sake of convenience) separate places for snippets and tutorials. An example might make things a bit more clear. The following are 6 articles from the C++ Articles forum : (*) Generating prime set which add upto particular number (*) Exceptions Vs setjmp (*) Gauss-siedel method to solve system of equations (*) All about Static in C++ (*) Lagranges interpolation formula (*) ASSERTs in C++ I think the following 3 should be listed in C++ Snippets sub-forum (under the articles forum) : (*) Generating prime set which add upto particular number (*) Lagranges interpolation formula (*) Gauss-siedel method to solve system of equations