• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

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

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... 😉
 
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?
 
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:
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.
 
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.
 
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 🙂
 
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.
 
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:
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.
 
Back
Top