How to Shoot Yourself in the Foot in Any Programming Languag

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

How to Shoot Yourself in the Foot in Any Programming Languag

Post 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.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

haha sweet :lol: Now I can borrow some of those experiences.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

haha
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post 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.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

haha that brightened up my morning... thanks man! :D
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post 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.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post 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);
DrTom
Forum Commoner
Posts: 60
Joined: Wed Aug 02, 2006 8:40 am
Location: Las Vegas

Post 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 :(
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

<cackle>HAR HAR</cackle>
Image
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post 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
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

I was laughing so hard my wife came in to see what was going on.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post 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
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

That was some good stuff. I needed that.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post 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:
Post Reply