Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Copy Pasta

Copy Pasta

Scheduled Pinned Locked Moved The Lounge
12 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L loctrice

    A great deal of professional coding is copy/paste. I'm not ashamed.

    Elephant elephant elephant, sunshine sunshine sunshine

    A Offline
    A Offline
    Afzaal Ahmad Zeeshan
    wrote on last edited by
    #3

    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 !~

    1 Reply Last reply
    0
    • L loctrice

      A great deal of professional coding is copy/paste. I'm not ashamed.

      Elephant elephant elephant, sunshine sunshine sunshine

      R Offline
      R Offline
      Rob Grainger
      wrote on last edited by
      #4

      ...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.

      1 Reply Last reply
      0
      • L loctrice

        A great deal of professional coding is copy/paste. I'm not ashamed.

        Elephant elephant elephant, sunshine sunshine sunshine

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #5

        Good artists copy, great artists steal.

        cheers Chris Maunder

        OriginalGriffO L 2 Replies Last reply
        0
        • C Chris Maunder

          Good artists copy, great artists steal.

          cheers Chris Maunder

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #6

          ...and p*ss artists drink! :laugh:

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          1 Reply Last reply
          0
          • L loctrice

            A great deal of professional coding is copy/paste. I'm not ashamed.

            Elephant elephant elephant, sunshine sunshine sunshine

            Sander RosselS Offline
            Sander RosselS Offline
            Sander Rossel
            wrote on last edited by
            #7

            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

            1 Reply Last reply
            0
            • Z ZurdoDev

              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.

              L Offline
              L Offline
              loctrice
              wrote on last edited by
              #8

              Yeah, that was implied.

              Elephant elephant elephant, sunshine sunshine sunshine

              1 Reply Last reply
              0
              • C Chris Maunder

                Good artists copy, great artists steal.

                cheers Chris Maunder

                L Offline
                L Offline
                loctrice
                wrote on last edited by
                #9

                Chris Maunder wrote:

                Good artists copy, great artists steal paste.

                FTFY

                Elephant elephant elephant, sunshine sunshine sunshine

                1 Reply Last reply
                0
                • L loctrice

                  A great deal of professional coding is copy/paste. I'm not ashamed.

                  Elephant elephant elephant, sunshine sunshine sunshine

                  T Offline
                  T Offline
                  TheGreatAndPowerfulOz
                  wrote on last edited by
                  #10

                  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

                  1 Reply Last reply
                  0
                  • L loctrice

                    A great deal of professional coding is copy/paste. I'm not ashamed.

                    Elephant elephant elephant, sunshine sunshine sunshine

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #11

                    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.

                    N 1 Reply Last reply
                    0
                    • L Lost User

                      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.

                      N Offline
                      N Offline
                      Nelek
                      wrote on last edited by
                      #12

                      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.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups