Page 1 of 1

How to Shoot Yourself in the Foot in Any Programming Languag

Posted: Wed Oct 04, 2006 10:57 am
by JayBird

Code: Select all

You shoot yourself in the foot.

Code: Select all

You accidentally create a dozen clones 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.”

Code: Select all

After importing java.awt.right.foot.* and java.awt.gun.right.hand.*, and writing the classes and methods of those classes needed, you’ve forgotten what the hell you’re doing.

Code: Select all

Your foot is ready to be shot in roughly five minutes, but you just can’t find anywhere to shoot it.

Code: Select all

You shoot yourself in the foot with a gun made with pieces from 300 other guns.

Code: Select all

Find a gun, it falls apart. Put it back together, it falls apart again. You try using the .GUN Framework, it falls apart. You stab yourself in the foot instead.

Code: Select all

SELECT @ammo:=bullet FROM gun WHERE trigger = ‘PULLED’;
INSERT INTO leg (foot) VALUES (@ammo);

Code: Select all

You start shooting yourself in the foot, but you lose the gun.

Code: Select all

YOu’ve perfected a robust, rich user experience for shooting yourself in the foot. You then find that bullets are disabled on your gun.

Code: Select all

You shoot your right foot with one hand, then switch hands to shoot your left foot but you realize that the gun has turned into a banana.

Code: Select all

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

Code: Select all

After realizing that you can’t actually accomplish anything in this language, you shoot yourself in the head.

Code: Select all

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

Code: Select all

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 the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds ….

Code: Select all

Shoot yourself in the foot with a water pistol. On big systems, continue until entire lower body is waterlogged.

Code: Select all

Foot in yourself shoot.

Code: Select all

You shoot yourself in the foot, then spend all day figuring out how to do it in fewer characters.

Code: Select all

The compiler won’t let you shoot yourself in the foot.

Code: Select all

If you succeed, shoot yourself in the left foot.
If you fail, shoot yourself in the right foot.

Code: Select all

You shoot yourself in somebody else’s foot.

Code: Select all

Put the first bullet of the gun into the foot of the left leg of you.
Answer the result.

Code: Select all

You spend days writing a UIL description of your foot, the trajectory, the bullet, and the intricate scrollwork on the ivory handles of the gun. When you finally get around to pulling the trigger, the gun jams.

Code: Select all

% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls
%

Code: Select all

Not only can you shoot yourself in the foot, your users can too.

Code: Select all

You’ll be able to shoot yourself in the foot just as soon as you figure out what all these bullets are for.

Code: Select all

You’ll shoot yourself in the foot, but you’ll have so much fun doing it that you won’t care.

Code: Select all

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.

Code: Select all

After correctly packaging your foot, you attempt to concurrently load the gun, pull the trigger, scream and shoot yourself in the foot. When you try, however, you discover that your foot is of the wrong type.

Code: Select all

You try to shoot yourself in the foot only to discover you must first reinvent the gun, the bullet, and your foot. After that’s done, you pull the trigger, the gun beeps several times, then crashes.

Code: Select all

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.

Posted: Wed Oct 04, 2006 11:08 am
by n00b Saibot
haha sweet :lol: Now I can borrow some of those experiences.

Posted: Wed Oct 04, 2006 11:18 am
by daedalus__
haha

Posted: Wed Oct 04, 2006 11:19 am
by Jenk
Should add one for COOLGEN:
You drag and drop the bullet onto your foot with your mouse.
Your keyboard makes a good paperweight.

Posted: Wed Oct 04, 2006 11:22 am
by Luke
haha that brightened up my morning... thanks man! :D

Posted: Wed Oct 04, 2006 11:29 am
by Burrito

Code: Select all

You have built the gun program to shoot yourself in the foot then realize you've spent all your money to build the gun program and didn't save any money to build the bullets program.  After a years time you have enough money to build the bullets program, but alas, an upgrade has happend and you must spend your money on upgrading your gun program.

Posted: Wed Oct 04, 2006 11:30 am
by Maugrim_The_Reaper
I'm not so sure all these languages would even recognise a gun... As for PHP, a dedicated extension would be invaluable...;)

Code: Select all

<?php

if (!extension_loaded('gun')) {
    if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
        dl('php_gun.dll');
    } else {
        dl('gun.so');
    }
}

$foot = $_GLOBALS['my_right_foot'];
gun_fire_at($foot);

exit(0);

Posted: Wed Oct 04, 2006 11:52 am
by DrTom
% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls
This one brought back very very very bad memories :(

Posted: Wed Oct 04, 2006 11:53 am
by patrikG
<cackle>HAR HAR</cackle>
Image

Posted: Wed Oct 04, 2006 12:56 pm
by daedalus__
Burrito wrote:

Code: Select all

You have built the gun program to shoot yourself in the foot then realize you've spent all your money to build the gun program and didn't save any money to build the bullets program.  After a years time you have enough money to build the bullets program, but alas, an upgrade has happend and you must spend your money on upgrading your gun program.
owned

Posted: Fri Oct 06, 2006 12:04 am
by Bill H
I was laughing so hard my wife came in to see what was going on.

Posted: Fri Oct 06, 2006 12:09 am
by s.dot
I can only laugh at 4 of those with knowing what i'm laughing about. But i still laughed at the others just because! :lol: :lol: :lol:

lolololbannana

Posted: Fri Oct 06, 2006 1:32 am
by RobertGonzalez
That was some good stuff. I needed that.

Posted: Fri Oct 06, 2006 3:08 am
by JayBird
scottayy wrote:I can only laugh at 4 of those with knowing what i'm laughing about. But i still laughed at the others just because! :lol: :lol: :lol:

lolololbannana

LOL, me too!! :lol: