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. Arrogant or merely delusional?

Arrogant or merely delusional?

Scheduled Pinned Locked Moved The Lounge
jsonquestion
39 Posts 27 Posters 3 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.
  • C Chris Maunder

    I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

    cheers Chris Maunder

    R Offline
    R Offline
    RickZeeland
    wrote on last edited by
    #18

    My advice: avoid web development :-\

    1 Reply Last reply
    0
    • L Lost User

      believe in yourself: as long as it compiles - surely your code must be ok. next step is delegation - get a junior to fix the tests [results].

      Message Signature (Click to edit ->)

      J Offline
      J Offline
      Johnny J
      wrote on last edited by
      #19

      Lopatir wrote:

      get a junior to fix the tests [results].

      I believe you will find that most of those people are currently employed by BMW! :doh:

      Anything that is unrelated to elephants is irrelephant
      Anonymous
      -----
      The problem with quotes on the internet is that you can never tell if they're genuine
      Winston Churchill, 1944
      -----
      Never argue with a fool. Onlookers may not be able to tell the difference.
      Mark Twain

      1 Reply Last reply
      0
      • G Gary Wheeler

        I did that once to change an upper case M to a lower case m in a product name, when the bastitches who requested the change were the ones who spelled it wrong in the first place.

        Software Zen: delete this;

        B Offline
        B Offline
        Bassam Abdul Baki
        wrote on last edited by
        #20

        :laugh: :laugh: :laugh:

        Web - BM - RSS - Math - LinkedIn

        1 Reply Last reply
        0
        • C Chris Maunder

          I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

          cheers Chris Maunder

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #21

          Chris Maunder wrote:

          when my serene view of reality doesn't align with what the rest of the world considers reasonable.

          That's my normal state. However, I've come to realize that what the rest of the world considers reasonable is actually quite unreasonable.

          Chris Maunder wrote:

          all my unit tests would just work

          But that's what unit tests are for -to destroy your serene view of reality. You should be celebrating!

          Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          C 1 Reply Last reply
          0
          • C Chris Maunder

            I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

            cheers Chris Maunder

            M Offline
            M Offline
            MarkTJohnson
            wrote on last edited by
            #22

            Unit test? Isn't that what production is for?

            1 Reply Last reply
            0
            • C Chris Maunder

              I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

              cheers Chris Maunder

              M Offline
              M Offline
              Maximilien
              wrote on last edited by
              #23

              obligatory Star Trek reference: [...maybe there's something wrong with the universe - YouTube](https://www.youtube.com/watch?v=Ek23bXq23pY)

              I'd rather be phishing!

              D 1 Reply Last reply
              0
              • M Maximilien

                obligatory Star Trek reference: [...maybe there's something wrong with the universe - YouTube](https://www.youtube.com/watch?v=Ek23bXq23pY)

                I'd rather be phishing!

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

                Quote:

                The fault, dear Brutus, is not in our stars, But in ourselves, that we are underlings.

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

                1 Reply Last reply
                0
                • C Chris Maunder

                  I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                  cheers Chris Maunder

                  J Offline
                  J Offline
                  John R Shaw
                  wrote on last edited by
                  #25

                  The difference between arrogant and confident is success. So, I guess over confidence could be labeled as arrogance. ;) I once inherited a C code base and discovered, to my surprise, that most of the functions declared an 'int' return type, but there were no return statements for success. :wtf: A successful result would have been whatever happen to be in the AX register after the call was complete. The compiler was not happy and generated lots of warnings. :( I went through an uncounted number of functions and added the return statements. The compiler was very happy, no errors or warnings. :) But, the code would no longer work. :doh: I decided that I had more import things to do than fix code that worked, so I dropped the whole idea and lived with the warnings. :-O Besides, 80 percent of the time they were not checking the return type any way. :sigh:

                  INTP "Program testing can be used to show the presence of bugs, but never to show their absence." - Edsger Dijkstra "I have never been lost, but I will admit to being confused for several weeks. " - Daniel Boone

                  CPalliniC 1 Reply Last reply
                  0
                  • J John R Shaw

                    The difference between arrogant and confident is success. So, I guess over confidence could be labeled as arrogance. ;) I once inherited a C code base and discovered, to my surprise, that most of the functions declared an 'int' return type, but there were no return statements for success. :wtf: A successful result would have been whatever happen to be in the AX register after the call was complete. The compiler was not happy and generated lots of warnings. :( I went through an uncounted number of functions and added the return statements. The compiler was very happy, no errors or warnings. :) But, the code would no longer work. :doh: I decided that I had more import things to do than fix code that worked, so I dropped the whole idea and lived with the warnings. :-O Besides, 80 percent of the time they were not checking the return type any way. :sigh:

                    INTP "Program testing can be used to show the presence of bugs, but never to show their absence." - Edsger Dijkstra "I have never been lost, but I will admit to being confused for several weeks. " - Daniel Boone

                    CPalliniC Offline
                    CPalliniC Offline
                    CPallini
                    wrote on last edited by
                    #26

                    Quote:

                    I once inherited a C code base and discovered, to my surprise, that most of the functions declared an 'int' return type, but there were no return statements for success.

                    Please don't tell me that. It's an abomination. I cannot believe a C programmer could have done such a thing. :omg:

                    In testa che avete, signor di Ceprano?

                    1 Reply Last reply
                    0
                    • C Chris Maunder

                      I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                      cheers Chris Maunder

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

                      Chris Maunder wrote:

                      what the rest of the world considers reasonable

                      The rest of the world isn't always right. A lot of great inventors were called arrogant, delusional, and even mad, yet they invented airplanes, discovered America, discovered that the earth was round and that the sun was the center of the galaxy... You, however, might just need another coffee to clear your head ;p

                      Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                        cheers Chris Maunder

                        K Offline
                        K Offline
                        kmoorevs
                        wrote on last edited by
                        #28

                        Maybe just feeling lucky! :laugh: It's a nice challenge isn't it? It's either a fist pump or a quick swearing fit followed by bug hunting, usually followed by more swearing fits and disbelief that I could have made such stupid mistakes/overlooked the obvious. I'll settle for lots of little victories! :laugh:

                        "Go forth into the source" - Neal Morse

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                          cheers Chris Maunder

                          G Offline
                          G Offline
                          GuyThiebaut
                          wrote on last edited by
                          #29

                          Unit tests - pffff ;P The only unit tests I have are the end users droids units who test my code.

                          “That which can be asserted without evidence, can be dismissed without evidence.”

                          ― Christopher Hitchens

                          1 Reply Last reply
                          0
                          • C Chris Maunder

                            I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                            cheers Chris Maunder

                            J Offline
                            J Offline
                            Johnny J
                            wrote on last edited by
                            #30

                            The solution to all of your problems![^] :doh:

                            Anything that is unrelated to elephants is irrelephant
                            Anonymous
                            -----
                            The problem with quotes on the internet is that you can never tell if they're genuine
                            Winston Churchill, 1944
                            -----
                            Never argue with a fool. Onlookers may not be able to tell the difference.
                            Mark Twain

                            1 Reply Last reply
                            0
                            • C Chris Maunder

                              I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                              cheers Chris Maunder

                              K Offline
                              K Offline
                              Kirill Illenseer
                              wrote on last edited by
                              #31

                              Hey, I weekly change stuff according to my client's wishes, every time believing that when I fulfil said wishes, I can finally draw a line under the particular work package, only to find my client to have more wishes.

                              1 Reply Last reply
                              0
                              • W W Balboos GHB

                                Chris Maunder wrote:

                                I wholeheartedly believed all my unit tests would just work.

                                You forgot to take into consideration that they were French unit tests - and as usual, they were on strike.

                                Ravings en masse^

                                "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                                R Offline
                                R Offline
                                Rage
                                wrote on last edited by
                                #32

                                We French unit tests merely rose a (white) flag here.

                                Do not escape reality : improve reality !

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                                  cheers Chris Maunder

                                  A Offline
                                  A Offline
                                  agolddog
                                  wrote on last edited by
                                  #33

                                  On the plus side, that's what unit tests are for, right?

                                  1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                                    cheers Chris Maunder

                                    K Offline
                                    K Offline
                                    Kirk 10389821
                                    wrote on last edited by
                                    #34

                                    I would suggest: Misplaced Optimism... Has this EVER Worked this way? Consistently? While the wife is trying to make sure you get home in time for those Dinner Plans? (LOL, that ALWAYS breaks a build!)

                                    1 Reply Last reply
                                    0
                                    • C Chris Maunder

                                      I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                                      cheers Chris Maunder

                                      B Offline
                                      B Offline
                                      Bruce Patin
                                      wrote on last edited by
                                      #35

                                      "tests"?

                                      1 Reply Last reply
                                      0
                                      • C Chris Maunder

                                        I made several thousand code changes over a couple of hundred files and I wholeheartedly believed all my unit tests would just work. I hate it when my serene view of reality doesn't align with what the rest of the world considers reasonable.

                                        cheers Chris Maunder

                                        D Offline
                                        D Offline
                                        Daniel R Przybylski
                                        wrote on last edited by
                                        #36

                                        Delusional would be making all of those changes and then when someone asked you how the unit tests went, you say, "What's a unittest?" or "Unittesting is a waste of time."

                                        1 Reply Last reply
                                        0
                                        • CPalliniC CPallini

                                          Apparently your files have too many lines of code.

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

                                          There's nothing "apparent" about it. You know how these things go: you start off well, and then generations of changes with lots of "I'll clean that up later" mean things get a little messy. sigh.

                                          cheers Chris Maunder

                                          CPalliniC 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