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 and paste nightmares!

Copy and paste nightmares!

Scheduled Pinned Locked Moved The Lounge
questioncareer
14 Posts 9 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.
  • B Offline
    B Offline
    boarderstu
    wrote on last edited by
    #1

    I've been at my job about 6 months... and I'm forever hearing my boss telling me during estimates "that'll be easy - it's just copy and paste right?" Now everyone knows - copy and paste just spreads software bugs like Aids... Any takers on how I can tackle this one?

    J R W A E 7 Replies Last reply
    0
    • B boarderstu

      I've been at my job about 6 months... and I'm forever hearing my boss telling me during estimates "that'll be easy - it's just copy and paste right?" Now everyone knows - copy and paste just spreads software bugs like Aids... Any takers on how I can tackle this one?

      J Offline
      J Offline
      Joe Simes
      wrote on last edited by
      #2

      boarderstu wrote:

      Any takers on how I can tackle this one?

      Don't forget to wear a condom! ;)

      B 1 Reply Last reply
      0
      • B boarderstu

        I've been at my job about 6 months... and I'm forever hearing my boss telling me during estimates "that'll be easy - it's just copy and paste right?" Now everyone knows - copy and paste just spreads software bugs like Aids... Any takers on how I can tackle this one?

        R Offline
        R Offline
        R Giskard Reventlov
        wrote on last edited by
        #3

        boarderstu wrote:

        "that'll be easy - it's just copy and paste right?"

        "So we'll leave that one to you then whilst I carry on with the complex stuff".

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        1 Reply Last reply
        0
        • B boarderstu

          I've been at my job about 6 months... and I'm forever hearing my boss telling me during estimates "that'll be easy - it's just copy and paste right?" Now everyone knows - copy and paste just spreads software bugs like Aids... Any takers on how I can tackle this one?

          W Offline
          W Offline
          wizardzz
          wrote on last edited by
          #4

          boarderstu wrote:

          I've been at my job about 6 months

          boarderstu wrote:

          Any takers on how I can tackle this one?

          Tell my old boss you'll copy and paste everything to the C# header files. That's proper OOD you know...

          Craigslist Troll: litaly@comcast.net "I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson

          1 Reply Last reply
          0
          • J Joe Simes

            boarderstu wrote:

            Any takers on how I can tackle this one?

            Don't forget to wear a condom! ;)

            B Offline
            B Offline
            boarderstu
            wrote on last edited by
            #5

            saves on cleaning up?!

            1 Reply Last reply
            0
            • B boarderstu

              I've been at my job about 6 months... and I'm forever hearing my boss telling me during estimates "that'll be easy - it's just copy and paste right?" Now everyone knows - copy and paste just spreads software bugs like Aids... Any takers on how I can tackle this one?

              A Offline
              A Offline
              AspDotNetDev
              wrote on last edited by
              #6

              boarderstu wrote:

              copy and paste just spreads software bugs like Aids

              Yeah, secretaries should not be programming.

              [

              S<T>::f(U) // Out of line.

              ](http://msdn.microsoft.com/en-us/library/8yk3t00s(v=vs.71).aspx)

              1 Reply Last reply
              0
              • B boarderstu

                I've been at my job about 6 months... and I'm forever hearing my boss telling me during estimates "that'll be easy - it's just copy and paste right?" Now everyone knows - copy and paste just spreads software bugs like Aids... Any takers on how I can tackle this one?

                E Offline
                E Offline
                Ennis Ray Lynch Jr
                wrote on last edited by
                #7

                I was tasked fixing a bug. I fixed it. Two days later it reappeared, my boss yelled at me. I searched for it, hrmm, I guess I forgot to check-it in, refix. Done. Next day same error, got chewed out for an hour. WTF! I did some research, a novice programmer was copying and pasting the code in question EVERY WHERE he needed it. 15 instances! Did I get an apology from the boss, no. Apparently I was supposed to know that copy and paste was the standard and predict that someone else was actively copying and pasting code THAT NEVER WORKED IN THE FIRST PLACE! Sorry for the yelling. But I can live with some copy and pasting, what I can't live with is developers that don't test any code they right. If it builds it ships is a crap methodology.

                Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

                A K 2 Replies Last reply
                0
                • E Ennis Ray Lynch Jr

                  I was tasked fixing a bug. I fixed it. Two days later it reappeared, my boss yelled at me. I searched for it, hrmm, I guess I forgot to check-it in, refix. Done. Next day same error, got chewed out for an hour. WTF! I did some research, a novice programmer was copying and pasting the code in question EVERY WHERE he needed it. 15 instances! Did I get an apology from the boss, no. Apparently I was supposed to know that copy and paste was the standard and predict that someone else was actively copying and pasting code THAT NEVER WORKED IN THE FIRST PLACE! Sorry for the yelling. But I can live with some copy and pasting, what I can't live with is developers that don't test any code they right. If it builds it ships is a crap methodology.

                  Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

                  A Offline
                  A Offline
                  AspDotNetDev
                  wrote on last edited by
                  #8

                  Ennis Ray Lynch, Jr. wrote:

                  developers that don't test any code they right

                  Since you were the one who was doing the bug fixing (or "righting") and you failed several times, I am assuming you didn't test the code and that you are a "developer that didn't test the code you righted."

                  [

                  S<T>::f(U) // Out of line.

                  ](http://msdn.microsoft.com/en-us/library/8yk3t00s(v=vs.71).aspx)

                  E 1 Reply Last reply
                  0
                  • B boarderstu

                    I've been at my job about 6 months... and I'm forever hearing my boss telling me during estimates "that'll be easy - it's just copy and paste right?" Now everyone knows - copy and paste just spreads software bugs like Aids... Any takers on how I can tackle this one?

                    S Offline
                    S Offline
                    S Houghtelin
                    wrote on last edited by
                    #9

                    I would probably laugh and slap the boss on the back and say "Now everyone knows - copy and paste just spreads software bugs...That's a good one Fred!". Every time your boss sends an email, copy and paste his email and send it back to him. Or just keep sending the same generic reply without ever changing the reply message to whatever your boss sends.

                    It was broke, so I fixed it.

                    1 Reply Last reply
                    0
                    • A AspDotNetDev

                      Ennis Ray Lynch, Jr. wrote:

                      developers that don't test any code they right

                      Since you were the one who was doing the bug fixing (or "righting") and you failed several times, I am assuming you didn't test the code and that you are a "developer that didn't test the code you righted."

                      [

                      S<T>::f(U) // Out of line.

                      ](http://msdn.microsoft.com/en-us/library/8yk3t00s(v=vs.71).aspx)

                      E Offline
                      E Offline
                      Ennis Ray Lynch Jr
                      wrote on last edited by
                      #10

                      What are you on about? That I can't spell?

                      Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

                      A 1 Reply Last reply
                      0
                      • E Ennis Ray Lynch Jr

                        What are you on about? That I can't spell?

                        Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

                        A Offline
                        A Offline
                        AspDotNetDev
                        wrote on last edited by
                        #11

                        Write.

                        [

                        S<T>::f(U) // Out of line.

                        ](http://msdn.microsoft.com/en-us/library/8yk3t00s(v=vs.71).aspx)

                        J 1 Reply Last reply
                        0
                        • A AspDotNetDev

                          Write.

                          [

                          S<T>::f(U) // Out of line.

                          ](http://msdn.microsoft.com/en-us/library/8yk3t00s(v=vs.71).aspx)

                          J Offline
                          J Offline
                          Joe Simes
                          wrote on last edited by
                          #12

                          Rite!

                          1 Reply Last reply
                          0
                          • B boarderstu

                            I've been at my job about 6 months... and I'm forever hearing my boss telling me during estimates "that'll be easy - it's just copy and paste right?" Now everyone knows - copy and paste just spreads software bugs like Aids... Any takers on how I can tackle this one?

                            S Offline
                            S Offline
                            Steve Mayfield
                            wrote on last edited by
                            #13

                            Response: You provide the 'copy' and I'll provide the 'paste'

                            Steve _________________ I C(++) therefore I am

                            1 Reply Last reply
                            0
                            • E Ennis Ray Lynch Jr

                              I was tasked fixing a bug. I fixed it. Two days later it reappeared, my boss yelled at me. I searched for it, hrmm, I guess I forgot to check-it in, refix. Done. Next day same error, got chewed out for an hour. WTF! I did some research, a novice programmer was copying and pasting the code in question EVERY WHERE he needed it. 15 instances! Did I get an apology from the boss, no. Apparently I was supposed to know that copy and paste was the standard and predict that someone else was actively copying and pasting code THAT NEVER WORKED IN THE FIRST PLACE! Sorry for the yelling. But I can live with some copy and pasting, what I can't live with is developers that don't test any code they right. If it builds it ships is a crap methodology.

                              Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

                              K Offline
                              K Offline
                              KP Lee
                              wrote on last edited by
                              #14

                              Ennis Ray Lynch, Jr. wrote:

                              what I can't live with is developers that don't test any code they right

                              I'm assuming you mean "write", not "right". If they are copy/pasting, did they write anything? (Reminds me of "If a tree falls in a forest...") Unfortunately, I see code get promoted all the time that won't work correctly. Which means it wasn't tested by the coder in the first place. Then again, sometimes I'm guilty. I needed to have something run 5 minutes before midnight, so I coded the job to run 5 minutes before midnight. Worked like a charm, truncated tomorrow's table every time. One minor detail, code is running UTC time, job uses local time. Tester finds the bug the day before I leave. I don't have time to fix. A year later, I'm in a different group, but my former group asks us to review code changes. All the jobs are being routed to a different service center with a different time zone. They come up with a neat idea. Set up these jobs to be scheduled based on UTC time and figure the offset of local time to UTC and set the local time to the desired UTC time. To my horror, this job is scheduled to run at 7:55AM UTC. I tell the team about the original bug and they need to either set the time to 11:55PM UTC time and require the job is rescheduled every time the time changes or run at 10:55PM UTC and accept the job will either be on time or 1 to 2 hours earlier than the desired time. Right now (back then) it is running 16 to 17 hours earlier than the time it should. Even when copy/paste isn't directly used, it sometimes pops up in code.

                              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