View Single Post
  #85   Spotlight this post!  
Unread 23-11-2007, 10:30
hipsterjr's Avatar
hipsterjr hipsterjr is offline
Your bot can score but can it dance
AKA: CJ
FRC #4451 (The Burning Magnetos)
Team Role: College Student
 
Join Date: Dec 2006
Rookie Year: 2002
Location: summerville,SC
Posts: 587
hipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond repute
Send a message via AIM to hipsterjr
Re: Programming jokes

How to shoot yourself in the foot
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."
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.
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.
Java
You locate the Gun class, but discover that the Bullet class is abstract, so you extend it and write the missing part of the implementation. Then you implement the ShootAble interface for your foot, and recompile the Foot class. The interface lets the bullet call the doDamage method on the Foot, so the Foot can damage itself in the most effective way. Now you run the program, and call the doShoot method on the instance of the Gun class. First the Gun creates an instance of Bullet, which calls the doFire method on the Gun. The Gun calls the hit(Bullet) method on the Foot, and the instance of Bullet is passed to the Foot. But this causes an IllegalHitByBullet exception to be thrown, and you die.
Apple System 7
Double click the gun icon and a window giving a selection for guns, target areas, plus balloon help with medical remedies, and assorted sound effects. Click "shoot" button and a small bomb appears with note "Error of Type 1 has occurred."
Windows 3.1
Double click the gun icon and wait. Eventually a window opens giving a selection for guns, target areas, plus balloon help with medical remedies, and assorted sound effects. Click "shoot" button and a small box appears with note "Unable to open Shoot.dll, check that path is correct."
Windows 95
Your gun is not compatible with this OS and you must buy an upgrade and install it before you can continue. Then you will be informed that you don't have enough memory.
CP/M
I remember when shooting yourself in the foot with a BB gun was a big deal.
DOS
You finally found the gun, but can't locate the file with the foot for the life of you.
MSDOS
You shoot yourself in the foot, but can unshoot yourself with add-on software.
__________________
2010 Palmetto Chairmens Winner
2009 Peachtree Finalist Thanks 1319 & 590 "Sure your robot can score, but can it dance?!"
2008 Palmetto Regional Finalist Thanks 343 & 804
2008 Florida Regional Finalist Thanks 179 & 69
2007 Palmetto Regional winners Thanks 1319 & 832
2005 Palmetto Chairmens Winner