Gaming Reviews, News, Tips and More.
We may earn a commission from links on this page

Now You Too Can Program Like Arnold Schwarzenegger

We may earn a commission from links on this page.

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