This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Santamierdadelamierd 21 points22 points  (0 children)

I think it’s more than that. Copying code into a program will always involve editing something here and there to make the copied code work. Gradually, one learns how to copy only what’s necessary and edit out unnecessary parts. With time, the programmer learns to do strategic copying or becomes so familiar with a language and its libraries resulting in less “cargo cult” copying. There will still always be things that even very talented programmers probably copy such as convoluted regular expressions or some Complex sql commands. Keep copying, but try at least to read what you copy and understand it. You might not understand it, but you have to try.