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

    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 Offline
          raddevusR Offline
          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 Offline
            raddevusR Offline
            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 Offline
              raddevusR Offline
              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 Offline
                raddevusR Offline
                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 Offline
                  raddevusR Offline
                  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 Offline
                    raddevusR Offline
                    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 Offline
                      raddevusR Offline
                      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 Offline
                          raddevusR Offline
                          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
                              • raddevusR raddevus

                                +1 for the musical reply. :laugh:

                                5 Offline
                                5 Offline
                                5teveH
                                wrote on last edited by
                                #26

                                raddevus wrote:

                                +1 for the musical reply.

                                and such a good one too. Love that song. What a great start to my morning. :)

                                1 Reply Last reply
                                0
                                • P PIEBALDconsult

                                  "If you get a different error message, you're making progress."

                                  enhzflepE Offline
                                  enhzflepE Offline
                                  enhzflep
                                  wrote on last edited by
                                  #27

                                  That quite possibly, is more help than we were given when first introduced to c++ templates at uni.

                                  E 1 Reply Last reply
                                  0
                                  • L Lost User

                                    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 Offline
                                    raddevusR Offline
                                    raddevus
                                    wrote on last edited by
                                    #28

                                    Gerry Schmitz wrote:

                                    Surprise-driven development.

                                    :laugh: SDD - The oldest and best Software Methodology! :laugh:

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      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 Offline
                                      raddevusR Offline
                                      raddevus
                                      wrote on last edited by
                                      #29

                                      Gerry Schmitz wrote:

                                      COBOL at least

                                      COBOL! COBOL! I'm triggered! :laugh:

                                      1 Reply Last reply
                                      0
                                      • raddevusR raddevus

                                        Greg Utas wrote:

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

                                        :thumbsup::thumbsup::thumbsup: Haha! Yeah, me too. That's why I'm sitting here shocked that it worked. :-D

                                        K Offline
                                        K Offline
                                        Keefer S
                                        wrote on last edited by
                                        #30

                                        Me too!

                                        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!

                                          F Offline
                                          F Offline
                                          Forogar
                                          wrote on last edited by
                                          #31

                                          I once wrote this expert system (in Fortran 77) for flight analysis. It was several thousand lines of code with a built in macro language to define state models and events to detect. It worked pretty much first time and I had 100 engineers using it for years without problems except for adding more features to make things easier to define, etc. I left the company a few years after implementing it but the system ran on and on. After I left they assigned a team of three programmers to update and or rewrite it but they apparently were too scared of breaking it to change anything. They attempted once to modify a small part of it and broke the whole thing - instant rollback time! They did managed to port it - with no code changes - to a newer mainframe but that was it for 20 years! Next time I might do more documentation than auto-generated flowcharts! ;-)

                                          - I would love to change the world, but they won’t give me the source 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