+ 1
Why not copy and paste????
Why can't we use copy and paste option in programming language? That's helps us to save time and minimize work. Am I correct đ€đ€đ€
7 Answers
+ 4
We basically do that all the time.
For example whenever you write #include <whatever> in your C code, you're basically copypasteing code that other people have written for you.
That said, you always have to watch out if you have the right to copypaste a certain piece of code. Depending on what it is, you may be breaking laws copying code.
Also, for learning purposes, you should try to write the code yourself, even if you could just copy it from somewhere.
+ 4
Nothing wrong with it as long as as there is no unnecessary/inefficient copying of blocks of code.
+ 2
I use copy and pase, at least to copy and paste my own work so I don't have to type it again. But if you're talking about copy and paste a solution from online, you can...but there is the problem if you actually understand the code you're copying, and if you're learning a language you won't get that practice of typing the language.
+ 1
type it youself if you want to learn.
on the development we want to keep it DRY. if you're using same codes over and over, copy pasting will make the source file larger and make it harder to read. just make a function.
0
I do it all time, because you don't habe to always understand everything, even if you use code that you can't fully understand, there will be a time where must understand it, and since you have already used it a lot and tested it many times it's much easier to undertand, but I'm talking about copy-paste of a line or two, not a whole script
0
What I am asking is it possible or not?????
- 1
To make you learn!