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. I'm pretty sure it's not because I'm getting old ...

I'm pretty sure it's not because I'm getting old ...

Scheduled Pinned Locked Moved The Lounge
combeta-testinglounge
37 Posts 29 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.
  • OriginalGriffO OriginalGriff

    ... but some of the QA questions just make me want to hit something / someone. No links, no names ... but he has code like this:

                    if(a>0)
                    {
                        MessageBox.Show("DATA SAVE SUCESSSFULLY");
                    }
    

    And he wants me to add this for him, because he can't work it out:

    else
    {
    MessageBox.Show("RECORD ALREADY EXISTS");
    }

    I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll ... :omg:

    "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 AntiTwitter: @DalekDave is now a follower!

    D Offline
    D Offline
    Dan Neely
    wrote on last edited by
    #11

    OriginalGriff wrote:

    I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll ... :OMG:

    Embrace the power of "AND". As in "I need a mug of :beer:, a glass of 🍷, and a shot of 🥃; to deal with that level of stupidity."

    Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

    1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      ... but some of the QA questions just make me want to hit something / someone. No links, no names ... but he has code like this:

                      if(a>0)
                      {
                          MessageBox.Show("DATA SAVE SUCESSSFULLY");
                      }
      

      And he wants me to add this for him, because he can't work it out:

      else
      {
      MessageBox.Show("RECORD ALREADY EXISTS");
      }

      I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll ... :omg:

      "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 AntiTwitter: @DalekDave is now a follower!

      R Offline
      R Offline
      rnbergren
      wrote on last edited by
      #12

      I chalk this up to those moments when something is so obvious but I can't see it. I remember one time having to bang my head against a wall. Gave up and asked team for advice. setup in conference room to review where I was having issues. as soon as I looked at it in the conference room. I could then "see" the issue and fixed it in moments. I think these users are sometimes having that sort of well brain fart moment.

      To err is human to really elephant it up you need a computer

      J O 2 Replies Last reply
      0
      • OriginalGriffO OriginalGriff

        ... but some of the QA questions just make me want to hit something / someone. No links, no names ... but he has code like this:

                        if(a>0)
                        {
                            MessageBox.Show("DATA SAVE SUCESSSFULLY");
                        }
        

        And he wants me to add this for him, because he can't work it out:

        else
        {
        MessageBox.Show("RECORD ALREADY EXISTS");
        }

        I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll ... :omg:

        "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 AntiTwitter: @DalekDave is now a follower!

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

        Soon to be followed by: "How to update record?"

        "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

        C 1 Reply Last reply
        0
        • D dandy72

          Remember, the world's population is going up, while the average IQ is a constant.

          D Offline
          D Offline
          Daniel Pfeffer
          wrote on last edited by
          #14

          dandy72 wrote:

          the world's population is going up, while the average IQ is a constant.

          It's actually the total IQ that is constant; the average is therefore going down! :-\

          Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

          D 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            ... but some of the QA questions just make me want to hit something / someone. No links, no names ... but he has code like this:

                            if(a>0)
                            {
                                MessageBox.Show("DATA SAVE SUCESSSFULLY");
                            }
            

            And he wants me to add this for him, because he can't work it out:

            else
            {
            MessageBox.Show("RECORD ALREADY EXISTS");
            }

            I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll ... :omg:

            "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 AntiTwitter: @DalekDave is now a follower!

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #15

            OriginalGriff wrote:

            I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll

            Someone new to programming is, well, new to programming. Nothing is obvious when one has never programmed before. With decades of experience with multiple languages it becomes easier to guess at solutions and also much easier to know how to write a google search string that will produce a correct answer. Or any answer.

            J 1 Reply Last reply
            0
            • R rnbergren

              I chalk this up to those moments when something is so obvious but I can't see it. I remember one time having to bang my head against a wall. Gave up and asked team for advice. setup in conference room to review where I was having issues. as soon as I looked at it in the conference room. I could then "see" the issue and fixed it in moments. I think these users are sometimes having that sort of well brain fart moment.

              To err is human to really elephant it up you need a computer

              J Offline
              J Offline
              jschell
              wrote on last edited by
              #16

              At my level of experience I always expect that now. I will ask a colleague to look at the code with me knowing that as I explain the problem to them and show them the code that I will figure out the solution myself.

              M S 2 Replies Last reply
              0
              • M megaadam

                The only reasonable pair for "DATA SAVE SUCESSSFULLY" is "RECORD ALREADY EXIST"

                "If we don't change direction, we'll end up where we're going"

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

                More obvious would be: "DATA SAVE UNSUCCESSFULLY" ;P :-D

                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
                • J jschell

                  OriginalGriff wrote:

                  I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll

                  Someone new to programming is, well, new to programming. Nothing is obvious when one has never programmed before. With decades of experience with multiple languages it becomes easier to guess at solutions and also much easier to know how to write a google search string that will produce a correct answer. Or any answer.

                  J Offline
                  J Offline
                  jmaida
                  wrote on last edited by
                  #18

                  Jschell, well said about "new to programming". I can remember my early days were a grand exploration of logic. Got hooked. When I look back at old code its like looking into my mind from the past and thinking "what was I thinking?". Both good and bad code.

                  "A little time, a little trouble, your better day" Badfinger

                  1 Reply Last reply
                  0
                  • J jschell

                    At my level of experience I always expect that now. I will ask a colleague to look at the code with me knowing that as I explain the problem to them and show them the code that I will figure out the solution myself.

                    M Offline
                    M Offline
                    Mike Winiberg
                    wrote on last edited by
                    #19

                    THis is, of course, the real benefit of pair programming. My (admittedly limited) experience of how pair programming works in large orgs is that it is competition, not collaboration. Which makes it less than helpful.

                    K 1 Reply Last reply
                    0
                    • M Mike Winiberg

                      THis is, of course, the real benefit of pair programming. My (admittedly limited) experience of how pair programming works in large orgs is that it is competition, not collaboration. Which makes it less than helpful.

                      K Offline
                      K Offline
                      Kate X257
                      wrote on last edited by
                      #20

                      I made up a type of pair programming, where we share the screen over zoom, and I only watch / help whenever they have a question. Does the same thing, but I can get work done in the downtime, and we don't have to schedule stuff.

                      M 1 Reply Last reply
                      0
                      • L Lost User

                        Soon to be followed by: "How to update record?"

                        "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                        C Offline
                        C Offline
                        Clumpco
                        wrote on last edited by
                        #21

                        And then...

                        if(a="999")
                        {
                        MessageBox.Show("DATA DELETERATED");
                        MessageBox.Show("ALL YOUR BASE ARE BELONG TO US");
                        }

                        So old that I did my first coding in octal via switches on a DEC PDP 8

                        1 Reply Last reply
                        0
                        • K Kate X257

                          I made up a type of pair programming, where we share the screen over zoom, and I only watch / help whenever they have a question. Does the same thing, but I can get work done in the downtime, and we don't have to schedule stuff.

                          M Offline
                          M Offline
                          Mike Winiberg
                          wrote on last edited by
                          #22

                          That sounds very sensible. I went to an job interview once at a big gov. - supposedly 'agile' - dev place. I was given a pair programming task to write a test for a function, using tools I was already very familiar with. As soon as I sat at the keyboard I could see a glaring error in the function I was supposedly testing (an uninitialised variable in a language that enforces initialisation), so not only would the test fail, the code wouldn't even compile. My pair stopped me correcting that error until I had written a test that showed the function failing - which of course couldn't be done because the code wouldn't compile. I wasn't offered the job, as I wasn't a good fit for their culture... 8)

                          J 1 Reply Last reply
                          0
                          • J jschell

                            At my level of experience I always expect that now. I will ask a colleague to look at the code with me knowing that as I explain the problem to them and show them the code that I will figure out the solution myself.

                            S Offline
                            S Offline
                            seismofish
                            wrote on last edited by
                            #23

                            You don't even need a human. I find explaining things to my cat can have the same effect.

                            <°}}}>«<

                            P 1 Reply Last reply
                            0
                            • L Lost User

                              I have a better one, the assignment includes the following:

                              Quote:

                              check if the key schoolHours is true, and if it is, set the key playtime to true

                              So I suggested he needs an if clause:

                              Quote:

                              Thanks for your answer. Please what goes inside the if () {

                              J Offline
                              J Offline
                              jweled
                              wrote on last edited by
                              #24

                              That one's pretty simple...

                              if ((!(schoolHours == false) == false) ? false : (schoolHours == 1))

                              1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                ... but some of the QA questions just make me want to hit something / someone. No links, no names ... but he has code like this:

                                                if(a>0)
                                                {
                                                    MessageBox.Show("DATA SAVE SUCESSSFULLY");
                                                }
                                

                                And he wants me to add this for him, because he can't work it out:

                                else
                                {
                                MessageBox.Show("RECORD ALREADY EXISTS");
                                }

                                I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll ... :omg:

                                "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 AntiTwitter: @DalekDave is now a follower!

                                D Offline
                                D Offline
                                Dave B 2022
                                wrote on last edited by
                                #25

                                It's hard to tell from the lack of context, but it appears as if your user is asking for feedback that the operation is over and that they should not repeatedly execute the event (such as push a button) to attempt to make your software work. Modern software is asynchronous and with the limited context, it seems like a very reasonable request to know when your operation has completed. I guess back in the day the UI thread would block while you were running your database update code on your UI thread and the fact that the application is now responsive again would tell you that the operation has completed and just didn't do anything.

                                OriginalGriffO 1 Reply Last reply
                                0
                                • S seismofish

                                  You don't even need a human. I find explaining things to my cat can have the same effect.

                                  <°}}}>«<

                                  P Offline
                                  P Offline
                                  purplemur
                                  wrote on last edited by
                                  #26

                                  Also known as Rubber Duck Debugging. One of the most useful programming techniques I've ever learned.

                                  I may not have gone where I intended to go, but I think I have ended up where I needed to be. - Douglas Adams

                                  1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    ... but some of the QA questions just make me want to hit something / someone. No links, no names ... but he has code like this:

                                                    if(a>0)
                                                    {
                                                        MessageBox.Show("DATA SAVE SUCESSSFULLY");
                                                    }
                                    

                                    And he wants me to add this for him, because he can't work it out:

                                    else
                                    {
                                    MessageBox.Show("RECORD ALREADY EXISTS");
                                    }

                                    I can't decide if he's unbelievably lazy, too dumb to walk and chew gum at the same time, or a troll ... :omg:

                                    "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 AntiTwitter: @DalekDave is now a follower!

                                    W Offline
                                    W Offline
                                    WPerkins
                                    wrote on last edited by
                                    #27

                                    People with two years of high school classes who have done some "HTML programming" and have Google are professionals now. So interviewing a candidate I sketch out some simple thing, usually on a white board, to write. It would take you and I less than a minute thought, take longer to write out than think out. New programmer should get it. You know, "sort three integers" or "which of three is greatest", etc. Don't worry about coding, I really want to hear how they think it out. So I had one guy say to me "I can do this if I am hired - I don't really want to give my labor away". Then he was puzzled when I immediately stood up and thanked him for coming in and said "I'll consider you for the position" and he was OK with that... I considered him till I got him just past the front desk. Arrogant 25 year old "professional". No, not because we are getting old.

                                    OriginalGriffO 1 Reply Last reply
                                    0
                                    • D Daniel Pfeffer

                                      dandy72 wrote:

                                      the world's population is going up, while the average IQ is a constant.

                                      It's actually the total IQ that is constant; the average is therefore going down! :-\

                                      Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                                      D Offline
                                      D Offline
                                      dandy72
                                      wrote on last edited by
                                      #28

                                      See? I'm living proof. :doh:

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        I have a better one, the assignment includes the following:

                                        Quote:

                                        check if the key schoolHours is true, and if it is, set the key playtime to true

                                        So I suggested he needs an if clause:

                                        Quote:

                                        Thanks for your answer. Please what goes inside the if () {

                                        A Offline
                                        A Offline
                                        Al Fargnoli
                                        wrote on last edited by
                                        #29

                                        Back in my Fortran days, I found this. (I don't remember the variable names.)

                                        IF FLAG1 .EQ. .TRUE. THEN
                                        FLAG1 = .FALSE.
                                        FLAG2 = .TRUE.
                                        ELSE
                                        FLAG2 = .FALSE.
                                        END IF

                                        I replaced it with two lines that I thought were obvious:

                                        FLAG2 = FLAG1
                                        FLAG1 = .FALSE.

                                        I made plenty of other changes, and the manager in charge of the codebase thanked me for "cleaning it up." (This happened almost forty years ago when 10 MHz processors had only been around a few years.)

                                        1 Reply Last reply
                                        0
                                        • D Dave B 2022

                                          It's hard to tell from the lack of context, but it appears as if your user is asking for feedback that the operation is over and that they should not repeatedly execute the event (such as push a button) to attempt to make your software work. Modern software is asynchronous and with the limited context, it seems like a very reasonable request to know when your operation has completed. I guess back in the day the UI thread would block while you were running your database update code on your UI thread and the fact that the application is now responsive again would tell you that the operation has completed and just didn't do anything.

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

                                          Nope, this is just a "INSERT to DB" followed by a test to see if it worked. Retries haven't occurred to him yet ... and I suspect Console rather than UI given his skill level.

                                          "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 AntiTwitter: @DalekDave is now a follower!

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