View Full Version : Shoot Yourself with any language
I saw this at another forum and thought it was great...but notice ActionScript isnt on the list...how does one shoot themselves with AS
http://www.fullduplex.org/humor/2006/10/how-to-shoot-yourself-in-the-foot-in-any-programming-language/
CyanBlue
10-05-2006, 07:21 PM
Let's see...
You start onEnterFrame to find where you put your gun last time when you shoot your hand...
You start another onEnterFrame to find where your foot is located...
Execute a function to cock the trigger... Wait until you see the 256 levels of recursion error, and pull the trigger...
Assertnfailure
10-05-2006, 07:39 PM
var target = leg.attachMovie("foot", "leftFoot", 0);
I personally love the Perl one
"You shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you."
CyanBlue
10-05-2006, 07:58 PM
I love Assembly one...
Assembly
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.
That's exactly what I had felt when learning the language... Well... That pretty much is the reason why I never went further on that, I guess... :D
Flash Gordon
10-05-2006, 09:20 PM
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.
:p
Assertnfailure
10-05-2006, 09:33 PM
ma˘ lover
boooooooooooooooooooooo mac!
Colin Campbell
10-05-2006, 10:11 PM
ma˘ lover
Word. Even the guy who plays PC in the Apple commercials uses a Mac. Get with the times Cota, you're so not hip :)
invader
10-06-2006, 09:06 PM
Word. Even the guy who plays PC in the Apple commercials uses a Mac. Get with the times Cota, you're so not hip :)
:eek: WHAT??
you mean someone paid by Apple to misrepresent the predominant desktop computer platform on TV uses an Apple computer?? no way....
anyway, someone put a pretty good actionscript one in the comments: You arrange gun_mc and foot_mc on the stage and make a nice ballistic animation with bullet_mc, but never actually shoot your foot, cause somebody hit the ‘Skip Intro’ Button.
here's one i came up with for actionscript:
you write a function that shoots you in the foot.. but you forgot to delete the onEnterFrame and end up with 30+ new bullet holes in your foot each second, then the debugger window pops up and asks you if you want to abort the script. you accidentally click 'No.' because you didn't read it close enough and thought it was asking you if you want to let it continue.
Flash Gordon
10-07-2006, 12:05 AM
HA!
I like thoses....skip intro....
outlando
10-10-2006, 11:35 AM
Here's the best AS one from that site:
Actionscript 3.0:
Install Flash 9 Public Alpha. Open the help panel to find no documenation. Go buy actual gun, shoot actual foot.
jjbilly
10-18-2006, 03:32 PM
at the bottom, there's a link to more, and one of them is AS
http://www.reed.edu/~tuckers/jokes/foot.html
You reate a class pistol, a child class bullet, and implement squeezetrigger. You find out that squeezetrigger happens before the pistol movie clip can be created.
Grr... the story of my morning.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.