+ 3
Copy and paste code?
Should i copy and paste code if I understand and know how to modify it? Or should i always write it from scratch?
16 Respostas
+ 21
As long as you understand the code completely then you can do that but if you have time, you might as well write it by yourself because it is a good feeling when you complete a code all by yourself.
+ 12
as u want
To be honest :
If my professional developer type too much I always get nervous. I like the sound of CTRL C CTRL V
For learning I would prefere writing from scratch .
+ 8
Should i copy and paste code
if
I understand and know how to modify it? Or should i always write it from scratch?
_______________________________
If you understand it and know how to properly modify it without infringing, however may not be modified or infringed upon in some cases ( and still give credit to the original author/copyright holder & possibly MIT licencer ) then you may get by with it.
If you are just c&p for learning however then there is some agreement as use for academic.
If the author / copyright & or licensee says to stop using his or her material then stop...
If it is material / digital property you already created then sure go ahead...
I may not have covered every aspect but I think this covers the basics of c&p terms of use.
btw, you always learn something new when writing from scratch...
+ 4
thanks guys, i just wanted to know if it was bad practice to do so. thanks again :)
+ 4
It so much helps to write your own codes as you get to master the art of coding and that of correcting your own mistakes irregardless of whether you are a master of coding or you are a newbie. Nothing hurts in trying.
Question if you are a master then why would you copy?? I've often found out that there are many ways of writing the same codes resulting in different aids of learning. Mind you learning doesn't stop so better write your own codes
+ 4
I kill my coder if they
a) don't google
b) don't copy&paste
this is professional area
in educational area rewriting is preferable.
+ 2
yeah if i am learning or practicing, i look at code references to find out how it works and try to write it myself.
+ 2
Yes it's OK if it's your own code or you acknowledge the original source.
+ 2
In my opinion, I think you should write it whatever you think you understand it well. Because you may discover new things while rewriting the code, or new ideas can improve your code.
Because often, we think that we understood things, but all there is, that we only get an idea of ââthem, but with many practice and reconsideration, it makes us realize that we were very far from understanding it.
(Sory for my bad english).
+ 2
I think you should either copy-paste, give credit, learn it on your own, and you done it!
+ 1
As long as you are infringing on copyrights then copy and paste
+ 1
Copy and paste if necessary. With machine learning, I copy and paste the Pandas code at the start so I can get started straight away in Scikit. It's very tedious rewriting certain things
+ 1
I recently started asking myself this same thing... I think the point is to just understand the code and what's happening in it. I would think people copy and paste all the time... Even on this app, what's to stop someone from copy and pasting your work and claiming it as there's? You wouldn't really know unless you stumble upon it
0
It saves getting carpal tunnel so no problem. That is 1 big upside on copy and paste just once you dont completely copy 1 persons code. Learn from many is a good way to go.
0
Use functions