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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Works right the first time! :confused:

Works right the first time! :confused:

Scheduled Pinned Locked Moved The Lounge
question
39 Posts 21 Posters 1 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.
  • raddevusR raddevus

    When you're writing code and you're like, we'll I'll just try this... :~ Write a bunch of code, add a function, etc. Ok, let's try it out... ...then it works!!! What!?! This is why I'll always enjoy software development. Because, every once in a while, I get something to work. :laugh: It's just enough that it keeps leading me on to keep on going. :laugh: :laugh:

    J Offline
    J Offline
    jeron1
    wrote on last edited by
    #6

    Time to go buy a lottery ticket! :)

    "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

    raddevusR 1 Reply Last reply
    0
    • Greg UtasG Greg Utas

      :thumbsup: Of course, it's usually the opposite, at least for me. This'll fix it. [runs test] :mad: WTF!!

      Robust Services Core | Software Techniques for Lemmings | Articles
      The fox knows many things, but the hedgehog knows one big thing.

      D Offline
      D Offline
      David ONeil
      wrote on last edited by
      #7

      I really really wish I didn't feel the full empathetic shock of identifying with your statement! Inside my bones, even!

      The forgotten roots of science | C++ Programming | DWinLib

      Greg UtasG 1 Reply Last reply
      0
      • raddevusR raddevus

        When you're writing code and you're like, we'll I'll just try this... :~ Write a bunch of code, add a function, etc. Ok, let's try it out... ...then it works!!! What!?! This is why I'll always enjoy software development. Because, every once in a while, I get something to work. :laugh: It's just enough that it keeps leading me on to keep on going. :laugh: :laugh:

        S Offline
        S Offline
        Slacker007
        wrote on last edited by
        #8

        but once I finally get it to work, I spend the next week second guessing myself if what I just did is a cob job, or a another example of very fine software engineering at its best. :laugh:

        raddevusR 1 Reply Last reply
        0
        • D David ONeil

          I really really wish I didn't feel the full empathetic shock of identifying with your statement! Inside my bones, even!

          The forgotten roots of science | C++ Programming | DWinLib

          Greg UtasG Offline
          Greg UtasG Offline
          Greg Utas
          wrote on last edited by
          #9

          I don't feel it in my bones until it happens after the second fix, when my mouse gets slammed violently. :-D

          Robust Services Core | Software Techniques for Lemmings | Articles
          The fox knows many things, but the hedgehog knows one big thing.

          <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
          <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

          D 1 Reply Last reply
          0
          • Greg UtasG Greg Utas

            I don't feel it in my bones until it happens after the second fix, when my mouse gets slammed violently. :-D

            Robust Services Core | Software Techniques for Lemmings | Articles
            The fox knows many things, but the hedgehog knows one big thing.

            D Offline
            D Offline
            David ONeil
            wrote on last edited by
            #10

            I've been finalizing a complete revamp of my Windows wrapper, which means four articles to make cohesive with each other, and several example programs which use the same code base. All of the programs are working correctly, and then I tried a feature that I know had worked in the past in one of the programs and I got an error message! Had to spend an hour to figure things out again! Uugh! Almost a mouse slam!

            The forgotten roots of science | C++ Programming | DWinLib

            1 Reply Last reply
            0
            • raddevusR raddevus

              When you're writing code and you're like, we'll I'll just try this... :~ Write a bunch of code, add a function, etc. Ok, let's try it out... ...then it works!!! What!?! This is why I'll always enjoy software development. Because, every once in a while, I get something to work. :laugh: It's just enough that it keeps leading me on to keep on going. :laugh: :laugh:

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

              You realize that if it ever needs an upgrade ... you'll be unable to touch it just in case ... :-D

              "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

              raddevusR F 2 Replies Last reply
              0
              • raddevusR raddevus

                When you're writing code and you're like, we'll I'll just try this... :~ Write a bunch of code, add a function, etc. Ok, let's try it out... ...then it works!!! What!?! This is why I'll always enjoy software development. Because, every once in a while, I get something to work. :laugh: It's just enough that it keeps leading me on to keep on going. :laugh: :laugh:

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

                raddevus wrote:

                This is why I'll always enjoy software development. Because, every once in a while, I get something to work

                :thumbsup: I'd say it comes with experience mostly. After 20+ years of doing this, I still occasionally throw a fist in the air when something complicated works the first time. :)

                "Go forth into the source" - Neal Morse "Hope is contagious"

                raddevusR 1 Reply Last reply
                0
                • raddevusR raddevus

                  When you're writing code and you're like, we'll I'll just try this... :~ Write a bunch of code, add a function, etc. Ok, let's try it out... ...then it works!!! What!?! This is why I'll always enjoy software development. Because, every once in a while, I get something to work. :laugh: It's just enough that it keeps leading me on to keep on going. :laugh: :laugh:

                  K Offline
                  K Offline
                  Kschuler
                  wrote on last edited by
                  #13

                  This never happens to me. 90% of the time I write a method I forget to write the code that calls it. So I have at least one redo every time. ha.

                  raddevusR 1 Reply Last reply
                  0
                  • raddevusR raddevus

                    When you're writing code and you're like, we'll I'll just try this... :~ Write a bunch of code, add a function, etc. Ok, let's try it out... ...then it works!!! What!?! This is why I'll always enjoy software development. Because, every once in a while, I get something to work. :laugh: It's just enough that it keeps leading me on to keep on going. :laugh: :laugh:

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

                    It was just your imagination running away with you.

                    #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

                    raddevusR 1 Reply Last reply
                    0
                    • Mircea NeacsuM Mircea Neacsu

                      Be afraid! Be very afraid! There must be a HUGE error lurking underneath. Remember the opening scene from Jaws :D :D

                      Mircea

                      raddevusR Online
                      raddevusR Online
                      raddevus
                      wrote on last edited by
                      #15

                      Mircea Neacsu wrote:

                      There must be a HUGE error lurking underneath. Remember the opening scene from Jaws :-D

                      You are probably right. Although it may be a huge pit of quicksand that drags me into the earth. :laugh: :laugh:

                      1 Reply Last reply
                      0
                      • J jeron1

                        Time to go buy a lottery ticket! :)

                        "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                        raddevusR Online
                        raddevusR Online
                        raddevus
                        wrote on last edited by
                        #16

                        jeron1 wrote:

                        Time to go buy a lottery ticket!

                        That's not a bad idea. But, I also will be careful of lightning strikes. :laugh: :laugh:

                        1 Reply Last reply
                        0
                        • S Slacker007

                          but once I finally get it to work, I spend the next week second guessing myself if what I just did is a cob job, or a another example of very fine software engineering at its best. :laugh:

                          raddevusR Online
                          raddevusR Online
                          raddevus
                          wrote on last edited by
                          #17

                          Slacker007 wrote:

                          I spend the next week second guessing myself if what I just did is a cob job, or a another example of very fine software engineering at its best.

                          It's all about how you sell it!! Best stuff ever!!! :laugh: :laugh: :laugh:

                          1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            You realize that if it ever needs an upgrade ... you'll be unable to touch it just in case ... :-D

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

                            raddevusR Online
                            raddevusR Online
                            raddevus
                            wrote on last edited by
                            #18

                            OriginalGriff wrote:

                            You realize that if it ever needs an upgrade ...

                            Right. It's like the nuclear reactor I accidentally created. It's just sitting in the garage generating energy but I'm afraid to get too close to it to shut it down or use it. :laugh: :laugh:

                            1 Reply Last reply
                            0
                            • K kmoorevs

                              raddevus wrote:

                              This is why I'll always enjoy software development. Because, every once in a while, I get something to work

                              :thumbsup: I'd say it comes with experience mostly. After 20+ years of doing this, I still occasionally throw a fist in the air when something complicated works the first time. :)

                              "Go forth into the source" - Neal Morse "Hope is contagious"

                              raddevusR Online
                              raddevusR Online
                              raddevus
                              wrote on last edited by
                              #19

                              kmoorevs wrote:

                              I still occasionally throw a fist in the air when something complicated works the first time.

                              :thumbsup::thumbsup::thumbsup:

                              1 Reply Last reply
                              0
                              • K Kschuler

                                This never happens to me. 90% of the time I write a method I forget to write the code that calls it. So I have at least one redo every time. ha.

                                raddevusR Online
                                raddevusR Online
                                raddevus
                                wrote on last edited by
                                #20

                                Kschuler wrote:

                                90% of the time I write a method I forget to write the code that calls it. So I have at least one redo every time. ha.

                                Haha! I've done that quite a few times too. It's like, "Why isn't that stupid function working? It's not even doing anything". Then :-O "Need to add a call to it."

                                L 1 Reply Last reply
                                0
                                • T TheGreatAndPowerfulOz

                                  It was just your imagination running away with you.

                                  #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

                                  raddevusR Online
                                  raddevusR Online
                                  raddevus
                                  wrote on last edited by
                                  #21

                                  +1 for the musical reply. :laugh:

                                  5 1 Reply Last reply
                                  0
                                  • raddevusR raddevus

                                    When you're writing code and you're like, we'll I'll just try this... :~ Write a bunch of code, add a function, etc. Ok, let's try it out... ...then it works!!! What!?! This is why I'll always enjoy software development. Because, every once in a while, I get something to work. :laugh: It's just enough that it keeps leading me on to keep on going. :laugh: :laugh:

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

                                    As Murphy said... if it works at the first try... you did it wrong. :rolleyes: ;P :laugh:

                                    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.

                                    raddevusR 1 Reply Last reply
                                    0
                                    • N Nelek

                                      As Murphy said... if it works at the first try... you did it wrong. :rolleyes: ;P :laugh:

                                      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.

                                      raddevusR Online
                                      raddevusR Online
                                      raddevus
                                      wrote on last edited by
                                      #23

                                      Nelek wrote:

                                      As Murphy said... if it works at the first try... you did it wrong.

                                      Now that makes sense to me! This will be my guiding principle from here on. :laugh:

                                      1 Reply Last reply
                                      0
                                      • raddevusR raddevus

                                        When you're writing code and you're like, we'll I'll just try this... :~ Write a bunch of code, add a function, etc. Ok, let's try it out... ...then it works!!! What!?! This is why I'll always enjoy software development. Because, every once in a while, I get something to work. :laugh: It's just enough that it keeps leading me on to keep on going. :laugh: :laugh:

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

                                        Surprise-driven development.

                                        It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                                        raddevusR 1 Reply Last reply
                                        0
                                        • raddevusR raddevus

                                          Kschuler wrote:

                                          90% of the time I write a method I forget to write the code that calls it. So I have at least one redo every time. ha.

                                          Haha! I've done that quite a few times too. It's like, "Why isn't that stupid function working? It's not even doing anything". Then :-O "Need to add a call to it."

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

                                          COBOL at least had a cross-reference listing.

                                          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                                          raddevusR 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