Yes, a Code Snippets forum or sub-forums seems as a good idea
No, this is a waste of time
dunno, dun care
Yes, but that's about specific needs. Someone comes here with a concrete problem, and others help solve it.Hmmm...but isn't that the point of the board? People helping other people with programming?
Snippets are about solutions that may or may not have specific needs. Because there is no immediate need, the motivation to actually go there and look them over is considerably lower. (At least mine. I can't speak for others, of course.)
Also, the people who are most typically motivated to post snippets are beginners who just discovered something new and feel like they should share it - however, these are usually low-quality. A prime example of what comes from snippet boards is the xor swap.
All the buzzt!
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
In all seriousness it still does seem like not a bad idea IMO. Of course the most urgent problems are the normal ones on the normal board, but I don't think it would be bad for people, beginner or otherwise, to do exactly what CornedBee is talking about and have other people, when they are in the mood, come along and say, "Well, your code could be improved in these ways" or even "You are delusional, give up". As long as the snippets forum has a caveat: There is no formal review policy, use at your own risk.
The cprogramming snippets section referred to earlier in the thread does not appear to have a review policy either, just a vote n' rate thing, which means there are no specific comments vis. what is good or bad about a particular snippet, since no one can post a response.
When new boards are made, they should come at a benefit to everyone. I don't think this site is going to generate the code snippets that the old timers would actually use (but I'm speaking for myself), and to announce something like "Everyone who knows what they're doing doesn't read this board" is a lot like saying "spam this board with broken examples from books". It lowers the quality of the board. Newbies will now be using poorly written code in their homework.
Not to mention this might only enable people who don't want to learn and already spam our board. There are a couple I could name.
And nothing we do with the new board will be like what daniweb already does or has here.
To be fair, there are other places to upload code snippets. If we want high-quality snippets, then we might post here first and make it robust before uploading elsewhere.
Otherwise you might that idea and make a snippet board. Posts are made in the C/C++ forums with the snippets, and are fixed up, then submitted to the snippets board, usually by a moderator. It makes for an archive for anyone who wants to share some snippets of code.
Of course, that opens up another can of worms. Should there be some quality control? How is the quality check done?
I'm standing neutral on this one.
How do neutral votes count if this is going to decide anything, anyway?
I think it's a good idea. Most people post on the C/C++ boards if they have a problem and not just to share code and hear some responces.
I would be for a section of cprogramming.com that was more dedicated to snippets than it already has; were users could submit code, and have the mods verify it first of course.
But it's a bad idea to make another board for it. I agree that you'd get alot of garbage in there, and any real discussions would be minimal.
“I just want to use my computer in a productive manner, not learn how to use it.” — Elysia
“A year spent in artificial intelligence is enough to make one believe in God.” — Alan Jay Perlis
Sure, this is a very good ideia, a place in the forum that you can post your code snnippets, for all commment and make it better. This is the better thing to do.