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


The Cheapest NBN 1000 Plans

Looking to bump up your internet connection and save a few bucks? Here are the cheapest plans available.

At Kotaku, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


4 responses to “Now You Too Can Program Like Arnold Schwarzenegger”