This is not a good comparison at all. The better way to describe it is this: when you want to write a book, do you write paragraphs or you just write quotes from other authors? Writing your own text is similar to write your own code. On the other hand, pasting quotes from other people is not a good way to convey your ideas, but it is much quicker for those who don't want to write themselves.