How Mainstream Can Code Scavenging Go? 139
The time-honored tradition of code scavanging has long been a way for new programmers to "break in" to a new language or task that they may not want to build from the ground up. The re-use of old code, cleaned up and tweaked to a new purpose can help developers learn many useful skills and accomplish tasks quickly, especially for small tasks that aren't of vital importance. One blogger wondered if this process could be formalized and tools could be built to help foster and enable code scavanging on a mass level. Is this a viable option, or are there just too many things to consider?
Re:IP Laws? (Score:3, Funny)
I've been thinking of scavenging code from SCO... (Score:5, Funny)
It's called a "subroutine library" (Score:5, Funny)
The Web 2.0 crowd rediscovers subroutine libraries. Film at 11.
foreheat meet desk (Score:5, Funny)
And the first article suggests that trusting the code is an issue, because you didn't write it. Well let's see - it's short, and you just pasted it into your program. But you're not going to bother to read it? You fail. Seriously.
Isn't this a library? (Score:3, Funny)
"Scavanging"? (Score:2, Funny)
This is a great idea! (Score:4, Funny)
Maybe the C++ language could do it. Then you could just
Hmm, CC++AN sounds pretty dumb. It'd never catch on. Oh well.
Today Slashdot jumped the shark. (Score:3, Funny)
Seriously. I'm starting to lose brain cells when I read the "articles" these days.
Re:scavanging turds is mainstream (Score:5, Funny)
Indeed...we need a -5 Asshole.
It's already been done. (Score:2, Funny)
A Brand New Idea (Score:1, Funny)
Re:It's called a "subroutine library" (Score:3, Funny)
Wow (Score:5, Funny)
I have found the most scavenged code on earth (Score:1, Funny)
using namespace std;
int main()
{
cout "Hello World!";
return 0;
}
Re:It's called a "subroutine library" (Score:3, Funny)
You gotta punch it up, PHB-ify it: "Reusable Enabling Action-Oriented Web Object Architecture Patterns".
Re:It's called a "subroutine library" (Score:3, Funny)
Instead, he answered "uh... cut and paste?"
Re:Don't we call that "refactoring"? (Score:5, Funny)
It leaves us only "the". Which is an article. Liar.
oops (Score:2, Funny)
Re:IP Laws? (Score:3, Funny)
Good point. I think I'll use it the next time someone comments about code of mine that is overly complex and convoluted.
"You see, all the simple ways of doing it have been published in tutorials. This means that they're copyrighted by the author. If I used simple code, I'd almost certainly be violating some author's copyright, and since you hired me to write the code, they'd probably sue both of us. Wouldn't want that, would we?"
(Only half-joking here. This is what the world's coming to.