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. That moment when...

That moment when...

Scheduled Pinned Locked Moved The Lounge
question
19 Posts 10 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.
  • W Wastedtalent

    You send invalid values to a web service that causes it to crash, and you get told it's your fault for doing something 'daft'... Mondays eh? :doh:

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

    Don't you just love defensive programming? Or is that defensive programmers? :laugh:

    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

    "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

    W Sander RosselS 2 Replies Last reply
    0
    • W Wastedtalent

      You send invalid values to a web service that causes it to crash, and you get told it's your fault for doing something 'daft'... Mondays eh? :doh:

      J Offline
      J Offline
      Jacquers
      wrote on last edited by
      #3

      Well... there should be validation of user input and also error handling ;)

      W 1 Reply Last reply
      0
      • J Jacquers

        Well... there should be validation of user input and also error handling ;)

        W Offline
        W Offline
        Wastedtalent
        wrote on last edited by
        #4

        There should and there will be, I haven't created the UI yet. I was just checking the responses from the web service so I could return the errors [I was incorrectly assuming I would get] to the user.

        1 Reply Last reply
        0
        • W Wastedtalent

          You send invalid values to a web service that causes it to crash, and you get told it's your fault for doing something 'daft'... Mondays eh? :doh:

          H Offline
          H Offline
          Herman T Instance
          wrote on last edited by
          #5

          That moment.... Yesterday after a long day in hot, sunny and warm Netherlands when you stop at the yellow M and order menu's for 8 people/kids. And then that you find out you forgot to order a bottle of water. Went back to order it and the pretty blond gives you a receipt to pick up that bottle at another counter where about 25 people are waiting for their meals being made, more people add the crowd and your nr 56 does not come up in the finished menu part on that screen. My fries cold, I was glad I had a salad. But no teenager at that pick up counter that scans all the order for small or single items. It took 33 minutes waiting for that 1 bottle. The were astonished that I complained about it. I asked her if she needed a ticket from a her boss to go too the loo....like she can only workout orders by tickets....

          In Word you can only store 2 bytes. That is why I use Writer.

          Sander RosselS 9 R M 4 Replies Last reply
          0
          • OriginalGriffO OriginalGriff

            Don't you just love defensive programming? Or is that defensive programmers? :laugh:

            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

            W Offline
            W Offline
            Wastedtalent
            wrote on last edited by
            #6

            I love it when you can reply Yes and No to the same post. Although I always assumed defensive programming was just called programming.

            M 1 Reply Last reply
            0
            • H Herman T Instance

              That moment.... Yesterday after a long day in hot, sunny and warm Netherlands when you stop at the yellow M and order menu's for 8 people/kids. And then that you find out you forgot to order a bottle of water. Went back to order it and the pretty blond gives you a receipt to pick up that bottle at another counter where about 25 people are waiting for their meals being made, more people add the crowd and your nr 56 does not come up in the finished menu part on that screen. My fries cold, I was glad I had a salad. But no teenager at that pick up counter that scans all the order for small or single items. It took 33 minutes waiting for that 1 bottle. The were astonished that I complained about it. I asked her if she needed a ticket from a her boss to go too the loo....like she can only workout orders by tickets....

              In Word you can only store 2 bytes. That is why I use Writer.

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

              digimanus wrote:

              when you stop at the yellow M

              Well then you asked for it! X|

              Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

              Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

              Regards, Sander

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                Don't you just love defensive programming? Or is that defensive programmers? :laugh:

                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

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

                The only reason we have defensive programming is because we also have offensive management :rolleyes:

                Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                Regards, Sander

                W G 2 Replies Last reply
                0
                • H Herman T Instance

                  That moment.... Yesterday after a long day in hot, sunny and warm Netherlands when you stop at the yellow M and order menu's for 8 people/kids. And then that you find out you forgot to order a bottle of water. Went back to order it and the pretty blond gives you a receipt to pick up that bottle at another counter where about 25 people are waiting for their meals being made, more people add the crowd and your nr 56 does not come up in the finished menu part on that screen. My fries cold, I was glad I had a salad. But no teenager at that pick up counter that scans all the order for small or single items. It took 33 minutes waiting for that 1 bottle. The were astonished that I complained about it. I asked her if she needed a ticket from a her boss to go too the loo....like she can only workout orders by tickets....

                  In Word you can only store 2 bytes. That is why I use Writer.

                  9 Offline
                  9 Offline
                  9082365
                  wrote on last edited by
                  #9

                  digimanus wrote:

                  bottle of water

                  What he said, only doubly so, you planet wrecker! :mad:

                  I am not a number. I am a ... no, wait!

                  H 1 Reply Last reply
                  0
                  • 9 9082365

                    digimanus wrote:

                    bottle of water

                    What he said, only doubly so, you planet wrecker! :mad:

                    I am not a number. I am a ... no, wait!

                    H Offline
                    H Offline
                    Herman T Instance
                    wrote on last edited by
                    #10

                    Yellow M and environment.... - plastic balloons at large - plastic toy at a happy meal You know how many bottles of water was used for that? ( not mentioning the plastic around my salad..... )

                    In Word you can only store 2 bytes. That is why I use Writer.

                    9 1 Reply Last reply
                    0
                    • Sander RosselS Sander Rossel

                      The only reason we have defensive programming is because we also have offensive management :rolleyes:

                      Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                      Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                      Regards, Sander

                      W Offline
                      W Offline
                      WiganLatics
                      wrote on last edited by
                      #11

                      We also have offensive programming ... it's anything in VB!

                      Sander RosselS 1 Reply Last reply
                      0
                      • H Herman T Instance

                        Yellow M and environment.... - plastic balloons at large - plastic toy at a happy meal You know how many bottles of water was used for that? ( not mentioning the plastic around my salad..... )

                        In Word you can only store 2 bytes. That is why I use Writer.

                        9 Offline
                        9 Offline
                        9082365
                        wrote on last edited by
                        #12

                        Well this is a new approach. You appear to be digging the hole you're in wider and deeper yet! I hope it's not so that you can throw all that unnecessary plastic in it afterwards!

                        I am not a number. I am a ... no, wait!

                        H 1 Reply Last reply
                        0
                        • W WiganLatics

                          We also have offensive programming ... it's anything in VB!

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

                          I happen to like VB(.NET, mind you!) and find your post very offensive :(

                          Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                          Regards, Sander

                          M 1 Reply Last reply
                          0
                          • 9 9082365

                            Well this is a new approach. You appear to be digging the hole you're in wider and deeper yet! I hope it's not so that you can throw all that unnecessary plastic in it afterwards!

                            I am not a number. I am a ... no, wait!

                            H Offline
                            H Offline
                            Herman T Instance
                            wrote on last edited by
                            #14

                            Nope. therefore they have a plastic bin with a plastic bag. And their it is put in :doh:

                            In Word you can only store 2 bytes. That is why I use Writer.

                            1 Reply Last reply
                            0
                            • H Herman T Instance

                              That moment.... Yesterday after a long day in hot, sunny and warm Netherlands when you stop at the yellow M and order menu's for 8 people/kids. And then that you find out you forgot to order a bottle of water. Went back to order it and the pretty blond gives you a receipt to pick up that bottle at another counter where about 25 people are waiting for their meals being made, more people add the crowd and your nr 56 does not come up in the finished menu part on that screen. My fries cold, I was glad I had a salad. But no teenager at that pick up counter that scans all the order for small or single items. It took 33 minutes waiting for that 1 bottle. The were astonished that I complained about it. I asked her if she needed a ticket from a her boss to go too the loo....like she can only workout orders by tickets....

                              In Word you can only store 2 bytes. That is why I use Writer.

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

                              You must have been very thirsty. I'd have left after 2 minutes waiting.

                              Do not escape reality : improve reality !

                              1 Reply Last reply
                              0
                              • Sander RosselS Sander Rossel

                                The only reason we have defensive programming is because we also have offensive management :rolleyes:

                                Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                                Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                Regards, Sander

                                G Offline
                                G Offline
                                Gary Wheeler
                                wrote on last edited by
                                #16

                                :thumbsup:

                                Software Zen: delete this;

                                1 Reply Last reply
                                0
                                • W Wastedtalent

                                  I love it when you can reply Yes and No to the same post. Although I always assumed defensive programming was just called programming.

                                  M Offline
                                  M Offline
                                  Mark_Wallace
                                  wrote on last edited by
                                  #17

                                  Wastedtalent wrote:

                                  I love it when you can reply Yes and No to the same post.

                                  I don't see what people have against that. It's normal human behaviour -- isn't that what we're supposed to allow/emulate?

                                  I wanna be a eunuchs developer! Pass me a bread knife!

                                  1 Reply Last reply
                                  0
                                  • Sander RosselS Sander Rossel

                                    I happen to like VB(.NET, mind you!) and find your post very offensive :(

                                    Read my (free) ebook Object-Oriented Programming in C# Succinctly. Visit my blog at Sander's bits - Writing the code you need. Or read my articles here on CodeProject.

                                    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                    Regards, Sander

                                    M Offline
                                    M Offline
                                    Mark_Wallace
                                    wrote on last edited by
                                    #18

                                    Why so surprised? There's no end of offensive programmers.

                                    I wanna be a eunuchs developer! Pass me a bread knife!

                                    1 Reply Last reply
                                    0
                                    • H Herman T Instance

                                      That moment.... Yesterday after a long day in hot, sunny and warm Netherlands when you stop at the yellow M and order menu's for 8 people/kids. And then that you find out you forgot to order a bottle of water. Went back to order it and the pretty blond gives you a receipt to pick up that bottle at another counter where about 25 people are waiting for their meals being made, more people add the crowd and your nr 56 does not come up in the finished menu part on that screen. My fries cold, I was glad I had a salad. But no teenager at that pick up counter that scans all the order for small or single items. It took 33 minutes waiting for that 1 bottle. The were astonished that I complained about it. I asked her if she needed a ticket from a her boss to go too the loo....like she can only workout orders by tickets....

                                      In Word you can only store 2 bytes. That is why I use Writer.

                                      M Offline
                                      M Offline
                                      Mark_Wallace
                                      wrote on last edited by
                                      #19

                                      Show me someone who has rules that they can force others to obey, and I'll show you an @rsehole.

                                      I wanna be a eunuchs developer! Pass me a bread knife!

                                      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