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. How to shoot yourself in the foot

How to shoot yourself in the foot

Scheduled Pinned Locked Moved The Lounge
c++delphidatabasetutorial
51 Posts 32 Posters 4 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.
  • A Albert Holguin

    so what happened to C#? :doh:

    S Offline
    S Offline
    Smithers Jones
    wrote on last edited by
    #8

    Albert Holguin wrote:

    so what happened to C#?

    Didn't exist back then. Windows95 was the last one mentioned in that list, that old it is. :)

    "I love deadlines. I like the whooshing sound they make as they fly by." (DNA)

    1 Reply Last reply
    0
    • G Ger Hayden

      Presumably a repost - but I never tire of it... C You shoot yourself in the foot. C++ You accidently create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying "That's me, over there." FORTRAN You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you have no exception-handling facility. Modula-2 After realizing that you can't actually accomplish anything in this language, you shoot yourself in the head. COBOL USEing a COLT 45 HANDGUN, AIM gun at LEG.FOOT, THEN place ARM.HAND.FINGER on HANDGUN.TRIGGER and SQUEEZE. THEN return HANDGUN to HOLSTER. CHECK whether shoelace needs to be retied. Lisp You shoot yourself in the appendage which holds the gun with which you shoot yourself in the appendage which holds the gun with which you shoot yourself in the appendage which holds... BASIC Shoot yourself in the foot with a water pistol. On big systems, continue until entire lower body is waterlogged. Forth Foot yourself in the shoot. APL You shoot yourself in the foot; then spend all day figuring out how to do it in fewer characters. Pascal The compiler won't let you shoot yourself in the foot. Snobol If you succeed, shoot yourself in the left foot. If you fail, shoot yourself in the right foot. HyperTalk Put the first bullet of the gun into foot left of leg of you. Answer the result. Prolog You tell your program you want to be shot in the foot. The program figures out how to do it, but the syntax doesn't allow it to explain. 370 JCL You send your foot down to MIS with a 4000-page document explaining how you want it to be shot. Three years later, your foot comes back deep-fried. FORTRAN-77 You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you still can't do exception-processing. Modula-2 (alternative) You perform a shooting on what might be currently a foot with what might be currently a bullet shot by what might currently be a gun. BASIC (compiled) You shoot yourself in the foot with a BB using a SCUD missile launcher. Visual Basic You'll really only appear to have shot yourself in the foot, but you'll have so much fun doing it that you won't care. Forth (alternati

      I Offline
      I Offline
      Ian Shlasko
      wrote on last edited by
      #9

      Ger Hayden wrote:

      Modula-2
      After realizing that you can't actually accomplish anything in this language, you shoot yourself in the head.

      Ah, memories... They made us use Modula-3 in college for my first two years... Such a useless language... Of course, then they switched to Java and wasted a semester teaching third-year students how to write for loops, because apparently curly-braces are scary and make kids cry.

      Proud to have finally moved to the A-Ark. Which one are you in?
      Author of the Guardians Saga (Sci-Fi/Fantasy novels)

      T F 2 Replies Last reply
      0
      • T thrakazog

        Wow, I didn't know you could post an entire novel into the lounge.

        I Offline
        I Offline
        Ian Shlasko
        wrote on last edited by
        #10

        Don't tempt me :)

        Proud to have finally moved to the A-Ark. Which one are you in?
        Author of the Guardians Saga (Sci-Fi/Fantasy novels)

        1 Reply Last reply
        0
        • T thrakazog

          Wow, I didn't know you could post an entire novel into the lounge.

          R Offline
          R Offline
          Rutvik Dave
          wrote on last edited by
          #11

          Now you know, Please dont try... :-D

          It's a shame that stupidity can't be converted into a usable energy source.

          T 1 Reply Last reply
          0
          • A Albert Holguin

            so what happened to C#? :doh:

            I Offline
            I Offline
            Ian Shlasko
            wrote on last edited by
            #12

            Albert Holguin wrote:

            so what happened to C#?

            C# You prepare the gun and the bullet, carefully modeling all of the physics of a bullet traveling through a foot. Just before you're about to pull the trigger, you stumble on System.Windows.BodyParts.Foot.ShootAt(System.Windows.Firearms.IGun gun) in the extended framework, realize you just wasted the entire afternoon, and shoot yourself in the head.

            Proud to have finally moved to the A-Ark. Which one are you in?
            Author of the Guardians Saga (Sci-Fi/Fantasy novels)

            S F R 3 Replies Last reply
            0
            • A Albert Holguin

              so what happened to C#? :doh:

              T Offline
              T Offline
              thrakazog
              wrote on last edited by
              #13

              C#: Your company spends months/years creating a buggy class to shoot yourself in the foot. Then MS releases an update to that adds ShootFoot to the framework. You curse your lost time. Upon showing ShootFoot to management they insist you use the bug filled class the company built anyway because they had to invest so much time in it. ...Not that that's ever happened to anyone I know.... :sigh:

              P 1 Reply Last reply
              0
              • G Ger Hayden

                Presumably a repost - but I never tire of it... C You shoot yourself in the foot. C++ You accidently create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying "That's me, over there." FORTRAN You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you have no exception-handling facility. Modula-2 After realizing that you can't actually accomplish anything in this language, you shoot yourself in the head. COBOL USEing a COLT 45 HANDGUN, AIM gun at LEG.FOOT, THEN place ARM.HAND.FINGER on HANDGUN.TRIGGER and SQUEEZE. THEN return HANDGUN to HOLSTER. CHECK whether shoelace needs to be retied. Lisp You shoot yourself in the appendage which holds the gun with which you shoot yourself in the appendage which holds the gun with which you shoot yourself in the appendage which holds... BASIC Shoot yourself in the foot with a water pistol. On big systems, continue until entire lower body is waterlogged. Forth Foot yourself in the shoot. APL You shoot yourself in the foot; then spend all day figuring out how to do it in fewer characters. Pascal The compiler won't let you shoot yourself in the foot. Snobol If you succeed, shoot yourself in the left foot. If you fail, shoot yourself in the right foot. HyperTalk Put the first bullet of the gun into foot left of leg of you. Answer the result. Prolog You tell your program you want to be shot in the foot. The program figures out how to do it, but the syntax doesn't allow it to explain. 370 JCL You send your foot down to MIS with a 4000-page document explaining how you want it to be shot. Three years later, your foot comes back deep-fried. FORTRAN-77 You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you still can't do exception-processing. Modula-2 (alternative) You perform a shooting on what might be currently a foot with what might be currently a bullet shot by what might currently be a gun. BASIC (compiled) You shoot yourself in the foot with a BB using a SCUD missile launcher. Visual Basic You'll really only appear to have shot yourself in the foot, but you'll have so much fun doing it that you won't care. Forth (alternati

                R Offline
                R Offline
                Rutvik Dave
                wrote on last edited by
                #14

                Now I know why most of the Languages have semicolon; at the end of each statement, so that no one hear your scream... and that's why rest of the Languages suck. ;P Good to know...

                It's a shame that stupidity can't be converted into a usable energy source.

                1 Reply Last reply
                0
                • A Albert Holguin

                  so what happened to C#? :doh:

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

                  C: Makes it easy to shoot yourself in the foot. C++: You blow your whole leg off. C#: The good news is, you're using rubber bullets.

                  Software Zen: delete this;

                  1 Reply Last reply
                  0
                  • R Rutvik Dave

                    Now you know, Please dont try... :-D

                    It's a shame that stupidity can't be converted into a usable energy source.

                    T Offline
                    T Offline
                    thrakazog
                    wrote on last edited by
                    #16

                    Call me Ishmael.....

                    H 1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      That explains the Corporate Wh*re promotion then!

                      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

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

                      :-D

                      -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                      1 Reply Last reply
                      0
                      • I Ian Shlasko

                        Ger Hayden wrote:

                        Modula-2
                        After realizing that you can't actually accomplish anything in this language, you shoot yourself in the head.

                        Ah, memories... They made us use Modula-3 in college for my first two years... Such a useless language... Of course, then they switched to Java and wasted a semester teaching third-year students how to write for loops, because apparently curly-braces are scary and make kids cry.

                        Proud to have finally moved to the A-Ark. Which one are you in?
                        Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                        T Offline
                        T Offline
                        thrakazog
                        wrote on last edited by
                        #18

                        Ian Shlasko wrote:

                        They made us use Modula-3 in college for my first two years

                        I had 3 years of ADA. Try pimping that on a resume. X|

                        S R 2 Replies Last reply
                        0
                        • G Ger Hayden

                          Presumably a repost - but I never tire of it... C You shoot yourself in the foot. C++ You accidently create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying "That's me, over there." FORTRAN You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you have no exception-handling facility. Modula-2 After realizing that you can't actually accomplish anything in this language, you shoot yourself in the head. COBOL USEing a COLT 45 HANDGUN, AIM gun at LEG.FOOT, THEN place ARM.HAND.FINGER on HANDGUN.TRIGGER and SQUEEZE. THEN return HANDGUN to HOLSTER. CHECK whether shoelace needs to be retied. Lisp You shoot yourself in the appendage which holds the gun with which you shoot yourself in the appendage which holds the gun with which you shoot yourself in the appendage which holds... BASIC Shoot yourself in the foot with a water pistol. On big systems, continue until entire lower body is waterlogged. Forth Foot yourself in the shoot. APL You shoot yourself in the foot; then spend all day figuring out how to do it in fewer characters. Pascal The compiler won't let you shoot yourself in the foot. Snobol If you succeed, shoot yourself in the left foot. If you fail, shoot yourself in the right foot. HyperTalk Put the first bullet of the gun into foot left of leg of you. Answer the result. Prolog You tell your program you want to be shot in the foot. The program figures out how to do it, but the syntax doesn't allow it to explain. 370 JCL You send your foot down to MIS with a 4000-page document explaining how you want it to be shot. Three years later, your foot comes back deep-fried. FORTRAN-77 You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you still can't do exception-processing. Modula-2 (alternative) You perform a shooting on what might be currently a foot with what might be currently a bullet shot by what might currently be a gun. BASIC (compiled) You shoot yourself in the foot with a BB using a SCUD missile launcher. Visual Basic You'll really only appear to have shot yourself in the foot, but you'll have so much fun doing it that you won't care. Forth (alternati

                          H Offline
                          H Offline
                          Henry Minute
                          wrote on last edited by
                          #19

                          I was thinking about this joke only last week. I first saw it back in the eighties ( which is why, I suspect, the references to dBase, Clipper etc.) when it was disseminated courtesy of that nice Mr Xerox (and his relatives). Doing so made me also remember another one from about the same time, and similarly distributed, which was a Sequence/Flow chart for the development process of an application. It ended with a cloud bubble containing "And then a miracle happened, and we shipped!". Very funny it was too. Alas, despite several attempts to find a version on-line at various times, I have been unable to share it.

                          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                          1 Reply Last reply
                          0
                          • T thrakazog

                            Call me Ishmael.....

                            H Offline
                            H Offline
                            Henry Minute
                            wrote on last edited by
                            #20

                            Oi! Ishmael....

                            Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                            R 1 Reply Last reply
                            0
                            • I Ian Shlasko

                              Albert Holguin wrote:

                              so what happened to C#?

                              C# You prepare the gun and the bullet, carefully modeling all of the physics of a bullet traveling through a foot. Just before you're about to pull the trigger, you stumble on System.Windows.BodyParts.Foot.ShootAt(System.Windows.Firearms.IGun gun) in the extended framework, realize you just wasted the entire afternoon, and shoot yourself in the head.

                              Proud to have finally moved to the A-Ark. Which one are you in?
                              Author of the Guardians Saga (Sci-Fi/Fantasy novels)

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

                              Brilliant. I would like to sign up for the new version of this gun and bullet when it comes out.

                              -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                              I 1 Reply Last reply
                              0
                              • T thrakazog

                                Ian Shlasko wrote:

                                They made us use Modula-3 in college for my first two years

                                I had 3 years of ADA. Try pimping that on a resume. X|

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

                                thrakazog wrote:

                                Try pimping that on a resume.

                                :laugh:

                                -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                                1 Reply Last reply
                                0
                                • I Ian Shlasko

                                  Albert Holguin wrote:

                                  so what happened to C#?

                                  C# You prepare the gun and the bullet, carefully modeling all of the physics of a bullet traveling through a foot. Just before you're about to pull the trigger, you stumble on System.Windows.BodyParts.Foot.ShootAt(System.Windows.Firearms.IGun gun) in the extended framework, realize you just wasted the entire afternoon, and shoot yourself in the head.

                                  Proud to have finally moved to the A-Ark. Which one are you in?
                                  Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                                  F Offline
                                  F Offline
                                  Fernando A Gomez F
                                  wrote on last edited by
                                  #23

                                  Just remember to have full trust or the [assembly: AllowPartiallyTrustedCallers] directive in your assembly, otherwise you won't be able to access the head.

                                  I 1 Reply Last reply
                                  0
                                  • H Henry Minute

                                    Oi! Ishmael....

                                    Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                                    R Offline
                                    R Offline
                                    Rutvik Dave
                                    wrote on last edited by
                                    #24

                                    :laugh:

                                    It's a shame that stupidity can't be converted into a usable energy source.

                                    1 Reply Last reply
                                    0
                                    • I Ian Shlasko

                                      Albert Holguin wrote:

                                      so what happened to C#?

                                      C# You prepare the gun and the bullet, carefully modeling all of the physics of a bullet traveling through a foot. Just before you're about to pull the trigger, you stumble on System.Windows.BodyParts.Foot.ShootAt(System.Windows.Firearms.IGun gun) in the extended framework, realize you just wasted the entire afternoon, and shoot yourself in the head.

                                      Proud to have finally moved to the A-Ark. Which one are you in?
                                      Author of the Guardians Saga (Sci-Fi/Fantasy novels)

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

                                      Ian Shlasko wrote:

                                      shoot yourself in the foot head

                                      Done !

                                      1 Reply Last reply
                                      0
                                      • S Slacker007

                                        Brilliant. I would like to sign up for the new version of this gun and bullet when it comes out.

                                        -- ** You don't hire a handyman to build a house, you hire a carpenter. ** Jack of all trades and master of none.

                                        I Offline
                                        I Offline
                                        Ian Shlasko
                                        wrote on last edited by
                                        #26

                                        Skip the next version... Rumor has it, there's a trajectory error that could cause unpredictable results. Microsoft is looking into it, but there's a good chance they'll just mark it "Won't fix" and deprecate the method.

                                        Proud to have finally moved to the A-Ark. Which one are you in?
                                        Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                                        1 Reply Last reply
                                        0
                                        • F Fernando A Gomez F

                                          Just remember to have full trust or the [assembly: AllowPartiallyTrustedCallers] directive in your assembly, otherwise you won't be able to access the head.

                                          I Offline
                                          I Offline
                                          Ian Shlasko
                                          wrote on last edited by
                                          #27

                                          That's by design. I mean, you wouldn't want just ANY program shooting you in the foot, right? That's what C++ is for.

                                          Proud to have finally moved to the A-Ark. Which one are you in?
                                          Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                                          F 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