Now You Too Can Program Like Arnold Schwarzenegger

Now You Too Can Program Like Arnold Schwarzenegger

Thanks to an intrepid programmer named Lauri Hartikka, we now have ArnoldC, a programming language where basic keywords are replaced with things Arnold has said in his many fine films.

Where a "normal" program would say something like this:

main() {

printf ("Hello World")

}

ArnoldC says this:

IT'S SHOWTIME

TALK TO THE HAND "Hello World"

YOU HAVE BEEN TERMINATED

Here's an example program that prints the numbers 1-10:

IT'S SHOWTIME

HEY CHRISTMAS TREE isLessThan10

YOU SET US UP @NO PROBLEMO

HEY CHRISTMAS TREE n

YOU SET US UP 0

STICK AROUND isLessThan10

GET TO THE CHOPPER n

HERE IS MY INVITATION n

GET UP 1

ENOUGH TALK

TALK TO THE HAND n

GET TO THE CHOPPER isLessThan10

HERE IS MY INVITATION 10

LET OFF SOME STEAM BENNET n

ENOUGH TALK

CHILL

YOU HAVE BEEN TERMINATED

You can read more about ArnoldC here.

via Animal New York


Comments

    Maybe its just me, but this doesn't seem to make it any easier.

Join the discussion!