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?
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.
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 .
thanks guys, i just wanted to know if it was bad practice to do so. thanks again :)
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
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.
yeah if i am learning or practicing, i look at code references to find out how it works and try to write it myself.
Yes it's OK if it's your own code or you acknowledge the original source.
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).
I think you should either copy-paste, give credit, learn it on your own, and you done it!
As long as you are infringing on copyrights then copy and paste
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
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
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.