View Poll Results: Which of these options would be best ?
Separate place for Snippets 0 0%
Separate place for Snippets + COTM Contest for codes 4 57.14%
No separate place for snippets 3 42.86%
Voters: 7. You may not vote on this poll

Should we have a separate section for submitting code snippets ?

SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
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.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
I was thinking of splitting into languages like programming / web but I think you have no option for same section and separate as OTM
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Quote:
Originally Posted by shabbir View Post
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 ???
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
i agree with shabbir, you need some explanation...
Mridula's Avatar, Join Date: Mar 2008
Pro contributor
I too agree with Shabbir, Guess people would not be interested to check the code that has no explanation.
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
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