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

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

              It's kinda like golf. Frustration, frustration, frustration...then you smoke a 3-wood and really enjoy it again...

              raddevusR 1 Reply Last reply
              0
              • A agolddog

                It's kinda like golf. Frustration, frustration, frustration...then you smoke a 3-wood and really enjoy it again...

                raddevusR Offline
                raddevusR Offline
                raddevus
                wrote on last edited by
                #33

                agolddog wrote:

                It's kinda like golf. Frustration, frustration, frustration...then you smoke a 3-wood and really enjoy it again...

                Great comparison. :thumbsup::thumbsup::thumbsup: Really is very similar. Just as you're about to give up on it for life, (and you've thrown a couple clubs into the frog pond) you make a nice shot. "Well, I probably shouldn't quit now." :rolleyes:

                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

                  E Offline
                  E Offline
                  englebart
                  wrote on last edited by
                  #34

                  Silly you! You forgot to add new tests to cover that code. Try it now.

                  raddevusR 1 Reply Last reply
                  0
                  • enhzflepE enhzflep

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

                    E Offline
                    E Offline
                    englebart
                    wrote on last edited by
                    #35

                    The old STL error messages were impressive! (and indecipherable)

                    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:

                      D Offline
                      D Offline
                      Don Hughes
                      wrote on last edited by
                      #36

                      If it works the very first time you tried it, then you

                      definitely got something wrong that will come back and bite you on the ass in a few months.

                      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:

                        S Offline
                        S Offline
                        Steve Naidamast
                        wrote on last edited by
                        #37

                        If it works the first time through, there is definitely something wrong... :)

                        Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

                        1 Reply Last reply
                        0
                        • D Don Hughes

                          If it works the very first time you tried it, then you

                          definitely got something wrong that will come back and bite you on the ass in a few months.

                          raddevusR Offline
                          raddevusR Offline
                          raddevus
                          wrote on last edited by
                          #38

                          Don Hughes wrote:

                          definitely got something wrong

                          Many people are posting this. :laugh:

                          1 Reply Last reply
                          0
                          • E englebart

                            Silly you! You forgot to add new tests to cover that code. Try it now.

                            raddevusR Offline
                            raddevusR Offline
                            raddevus
                            wrote on last edited by
                            #39

                            englebart wrote:

                            You forgot to add new tests to cover that code.

                            Yes, yes, forgot. That's the ticket. Forgot the tests. :laugh: Steve Martin: How many times do we let ourselves get into terrible situations because we don't say, "i forgot"? You Can Be a Millionaire - YouTube[^]

                            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