What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

I think a code snippet library would a great addition to SO.

Snippets could be voted up, etc.

Personally, I would love a place I can keep useful code snippets online. There are services out there, but I'd like a place I visit on a regular basis anyway.

Best regards, Kervin

share|improve this question
    
I like this idea in a general sort of way, but I'm not sure SO is the right place to implement it. What does it have to do with Q&A? –  Pops Oct 29 '10 at 17:48
    
I'm seeing a lot of code snippets in chat and questions. But I think there should be a systemwide way to tie all your snippets, and those you're interested in to your profile. Just for instance. Build a taged, searchable, browseable library, for instance. –  kervin Oct 29 '10 at 17:55
    
You mean like code.google.com? –  MPelletier Oct 29 '10 at 17:58
    
I like the idea too, but I don't think SO is the right forum for it. It needs a whole different kind of moderation and attention to work well –  Pëkka Oct 29 '10 at 18:26

1 Answer 1

I suspect any value that you might hope to get from the voting will be swamped by "this is fun!" votes for comments, variable or subprogram names, deep but rarely useful hacks like the quake sqrt approximation, etc, etc, etc...

The way to beat this problem would, of course, be to group the snippets by the problem they solves, which would end up looking an awful lot like questions with answers.

Put me down as against.

share|improve this answer
    
Why would you assume the majority of voting would be whimsical? And wouldn't it be up to the users to decide what's useful or not ( quake sqrt approximation probably wouldn't be useful to me for instance... ) –  kervin Oct 31 '10 at 0:32
    
@kervin: Take a look at the highest voted questions on Stack Overflow. More people vote for things that are fun than for stuff that is good in a technically helpful sense. It's the source of all the big, enduring conflict on the site, and has survived repeated attempts to "fix" it. –  dmckee Oct 31 '10 at 1:30

You must log in to answer this question.

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