I envy those that could wright code from scratch...

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,284
3,905
75
Eh, practically all of us stand on the shoulders of giants. Practically nobody writes in assembly these days, so you're using a compiler. You're probably also using libraries written by someone else, especially if you're using a high-level language like Python. If you write JavaScript, it's running on an interpreter in a browser someone else developed. Even if you write in assembly, you're using an assembler someone else wrote, and an OS someone else developed.

Although there are those that brag...
 

Subyman

Moderator <br> VC&G Forum
Mar 18, 2005
7,876
32
86
You'd need to spend years developing stdlib by yourself. A good programmer uses foundations or libraries. I don't know of any programmer that considers including those a copy and paste job. Do you mean copying from tutorials?
 

smakme7757

Golden Member
Nov 20, 2010
1,487
1
81
Unless you find a breakthrough way to do something then it's usually not worth the time writing code someone else has already written (Can depend on circumstances of course).

That programmers "Copy/Paste" is a massive wrong way of putting it. Using other peoples code/libraries takes more than just copying it and pasting it somewhere.
 
Last edited:

KWiklund

Member
Oct 30, 2013
35
0
16
It's one way of learning *hot* to code. You can copy a section of code, and try to integrate it into an existing program (which is not always a trivial task). Fiddling around with it though and seeing what does what, either by backchecking all of the functions, or simply experimenting with it will teach you a lot by itself.
 

JasonCoder

Golden Member
Feb 23, 2005
1,893
1
81
You want to work harder and thump your chest about it or work smarter and get stuff done? I'd rather get stuff done. Fairly certain that Leonardo didn't tan his own canvases.
 

Jaydip

Diamond Member
Mar 29, 2010
3,691
21
81
Coding from scratch is pretty easy if you understand logic.Coding is not just creating a 1000 line program but rather solving a business problem.Try creating a win32 program without copy/paste, you will quit in minutes
 

smackababy

Lifer
Oct 30, 2008
27,024
79
86
You want to work harder and thump your chest about it or work smarter and get stuff done? I'd rather get stuff done. Fairly certain that Leonardo didn't tan his own canvases.


This. I could write code from scratch, but I'd be constantly having to go back and tweak it for performance or usability or whatever. 99.9% of what you're doing has been done by someone and tweaked, enhanced, reviewed so many times it is not worth redoing yourself. Why reinvent the wheel? This is the reason we have libraries and APIs; they make our lives easier.
 

tfinch2

Lifer
Feb 3, 2004
22,114
1
0
I don't see anything wrong with copy/pasting code, as long as you understand what it's doing. If you're reviewing it, figuring out how to make changes to fit your code better, and tuning method parameters to do what you need, what's the big deal?

What I don't like is when someone copies something straight out of some tutorial they found via Google, does minimal testing, then ships it out for review. When you ask them a particular question during the review about the code, they just shrug their shoulders.
 
Last edited:

sze5003

Lifer
Aug 18, 2012
14,184
626
126
I don't like copy paste. In my company it has led to defects, redundant and not needed code, performance issues, failing unit tests, I could go on.

If I'm doing copy paste it's usually something simple that I already know such as measuring performance through a simple timer when executing a method, or if it's some basic logic. But a lot of times we end up refactoring stuff you normally use all the time into their own classes.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |