Copy Pasta
-
A great deal of professional coding is copy/paste. I'm not ashamed.
Elephant elephant elephant, sunshine sunshine sunshine
Of course, but that makes your code look a lot like spaghetti. :laugh:
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-
A great deal of professional coding is copy/paste. I'm not ashamed.
Elephant elephant elephant, sunshine sunshine sunshine
...and a vast number of bugs in professionally coded products are caused by failure to edit such code safely. The PVS-Studio chaps frequently run articles summarising issues found in Open Source projects. For example, the following is for CryEngine V Errors[^]. Every single article like this usually includes copy-pasta errors. Its a valid technique, but you may want to employ a good static analysis tool alongside to protect your ass.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
A great deal of professional coding is copy/paste. I'm not ashamed.
Elephant elephant elephant, sunshine sunshine sunshine
Good artists copy, great artists steal.
cheers Chris Maunder
-
Good artists copy, great artists steal.
cheers Chris Maunder
...and p*ss artists drink! :laugh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
A great deal of professional coding is copy/paste. I'm not ashamed.
Elephant elephant elephant, sunshine sunshine sunshine
I used to have a coworker who mostly just copy/pasted. The guy had NO idea what he was doing. He thought generics was something I invented. He had been using LINQ (mostly .Where()) for over a year, but when he had to use .Any() he was lost in the syntax. All of his code read exactly the same (literally, it was the same code). I told him copy/paste was a privilege that you had to earn and he hadn't earned it yet.
Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.
Simplicity is prerequisite for reliability. — Edsger W. Dijkstra
Regards, Sander
-
loctrice wrote:
A great deal of professional coding is copy/paste.
And adjust variable names and tweak code to work in what I have so far. If you can just copy and paste most of what you do, then you are not a programmer/developer and not working on anything very complex, in my opinion. :^)
There are only 10 types of people in the world, those who understand binary and those who don't.
-
Good artists copy, great artists steal.
cheers Chris Maunder
-
A great deal of professional coding is copy/paste. I'm not ashamed.
Elephant elephant elephant, sunshine sunshine sunshine
Indeed, why invent when you can steal... :-D :~
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
-
A great deal of professional coding is copy/paste. I'm not ashamed.
Elephant elephant elephant, sunshine sunshine sunshine
I had a coworker ask me one time why I typed so much. I didn't quite understand where he was coming from and then I realized he was referring to my coding. I asked him how he codes. His response was, and I quote, "I Google it." :doh:
When you are dead, you won't even know that you are dead. It's a pain only felt by others. Same thing when you are stupid.
-
I had a coworker ask me one time why I typed so much. I didn't quite understand where he was coming from and then I realized he was referring to my coding. I asked him how he codes. His response was, and I quote, "I Google it." :doh:
When you are dead, you won't even know that you are dead. It's a pain only felt by others. Same thing when you are stupid.
The problem is when even your boss thinks that you are too slow X| X| X| :sigh: :sigh: :sigh:
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.