+ 13

Is it really true that many programmers just copy paste their code ?

31st May 2017, 3:54 PM
Prabhu Nithin
Prabhu Nithin - avatar
7 Respostas
+ 18
Copy and pasting parts of your own code which has high reusability is fine - Just make sure you don't fall into the situation where you lose your original copy and can no longer write the same script from scratch. Don't risk leaving your skills to rust just in exchange for convenience.
31st May 2017, 4:45 PM
Hatsy Rei
Hatsy Rei - avatar
+ 9
what do you​ say ?
31st May 2017, 4:02 PM
Prabhu Nithin
Prabhu Nithin - avatar
+ 7
I never do. Even if I look up a code to do something specific I re-write it myself and try to learn from it
31st May 2017, 3:59 PM
LordHill
LordHill - avatar
+ 7
Programmers maybe copy and paste little code snippets some times. People who just copy and paste everything are called scriptkiddies.
31st May 2017, 3:59 PM
Tim G
Tim G - avatar
+ 7
sometimes it's boring to write dumb codes, so i guess it's ok to do so ?
31st May 2017, 4:02 PM
Prabhu Nithin
Prabhu Nithin - avatar
+ 3
depends on your programming goals. you just trying to get done or Learn? I write lots of codes and store them in a folder in case I want to re-use them. so if we are counting our own codes, then yea I copy and paste
31st May 2017, 4:10 PM
LordHill
LordHill - avatar
+ 2
Depends on what you try to accomplish. For example, you need a function and you find the one you need. So why not just copy it and use it in your code as is or explicitly rewritten to your needs ? Simple, why would you try to invent the wheel all over again? This is a waste of time and effort better spend on other important factors of your overall project. However, if you document your project, it would be nothing else but fair to include a reference for the used and borrowed parts in your program. This will not negatively effect you nor your code as a person, but actually give you recognition that you are someone that will give credit to whomever it belongs. That's what fair play is all about.
31st May 2017, 4:27 PM
🇺🇸 Anatoli🇧🇪🇪🇺 ,
🇺🇸 Anatoli🇧🇪🇪🇺 , - avatar