scott.hodson.blog

October 4, 2006

How to Shoot Yourself in the Foot in Any Programming Language

Filed under: Technology — scott @ 1:19 pm

These are pretty hilarious! Some of my favorites are

  • JAVA - 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.
  • Ruby - Your foot is ready to be shot in roughly five minutes, but you just can’t find anywhere to shoot it.
  • PHP - You shoot yourself in the foot with a gun made with pieces from 300 other guns.
  • ASP.NET - 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.
  • SQL - SELECT @ammo:=bullet FROM gun WHERE trigger = ‘PULLED’;
    INSERT INTO leg (foot) VALUES (@ammo);
  • Perl - You shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you.
  • Visual Basic - You’ll shoot yourself in the foot, but you’ll have so much fun doing it that you won’t care.
  • Python - You try to shoot yourself in the foot but you just keep hitting the whitespace between your toes.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Powered by WordPress