Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A programming language based on the one-liners of Arnold Schwarzenegger (lhartikk.github.io)
108 points by aloukissas on Dec 22, 2019 | hide | past | favorite | 27 comments



Here's the hello world of technical interviews in ArnoldC:

    IT'S SHOWTIME
    HEY CHRISTMAS TREE JOHN
    YOU SET US UP @NO PROBLEMO
    HEY CHRISTMAS TREE SARAH
    YOU SET US UP @I LIED
    GET TO THE CHOPPER SARAH
    HERE IS MY INVITATION JOHN
    LET OFF SOME STEAM BENNET 100
    ENOUGH TALK
    STICK AROUND SARAH
    GET TO THE CHOPPER SARAH
    HERE IS MY INVITATION JOHN
    HE HAD TO SPLIT 15
    YOU'RE FIRED 15
    GET DOWN JOHN
    YOU ARE NOT YOU YOU ARE ME 0
    ENOUGH TALK
    BECAUSE I'M GOING TO SAY PLEASE SARAH
    TALK TO THE HAND "FizzBuzz"
    BULLSHIT
    GET TO THE CHOPPER SARAH
    HERE IS MY INVITATION JOHN
    HE HAD TO SPLIT 5
    YOU'RE FIRED 5
    GET DOWN JOHN
    YOU ARE NOT YOU YOU ARE ME 0
    ENOUGH TALK
    BECAUSE I'M GOING TO SAY PLEASE SARAH
    TALK TO THE HAND "Buzz"
    BULLSHIT
    GET TO THE CHOPPER SARAH
    HERE IS MY INVITATION JOHN
    HE HAD TO SPLIT 3
    YOU'RE FIRED 3
    GET DOWN JOHN
    YOU ARE NOT YOU YOU ARE ME 0
    ENOUGH TALK
    BECAUSE I'M GOING TO SAY PLEASE SARAH
    TALK TO THE HAND "Fizz"
    BULLSHIT
    TALK TO THE HAND JOHN
    YOU HAVE NO RESPECT FOR LOGIC
    YOU HAVE NO RESPECT FOR LOGIC
    YOU HAVE NO RESPECT FOR LOGIC
    GET TO THE CHOPPER JOHN
    HERE IS MY INVITATION 1
    GET UP JOHN
    ENOUGH TALK
    GET TO THE CHOPPER SARAH
    HERE IS MY INVITATION JOHN
    LET OFF SOME STEAM BENNET 100
    ENOUGH TALK
    CHILL
    YOU HAVE BEEN TERMINATED


You forgot KOKAINUM and HOOLIGANY


This could be a new genre of highly experimental cinema. Turn a program into a short film by replacing each one-liner by its corresponding video clip. You'll need to figure something out for variable names, strings and numbers, though. Maybe just use those that can also be sourced from Schwarzenegger clips.


Was hoping there was a “who is your daddy and what does he do?”


You could make a PR, it looks like the language doesn’t have environment variable access!


That will be added when they do a unit testing framework


Used to find the superclass of a type, surely?


That would make a great switch/case statement.


Some possible language extensions:

NewObject = IT'S NOT A TUMOR

DeallocateObject = YOU'VE JUST BEEN ERASED

WriteToFile = COME WITH ME IF YOU WANT TO LIVE


whatIsBestInLife = [ “Crush Your Enemies”, “See Them Driven Before You”, “Hear The lamentation Of Their Women” ] If ItsJudgementDay then...

I can get into this, it’s what JavaScript should have been. Much better then that Samuel L Jackson language with only one statement...


So wordy they must have name it CONAN.


Someone should tweet this at Arnold (but not sure he’ll understand)


He only speaks 6502 Assembly Language.


Yeah, the Cyberdyne Systems Model T-800 is coded in Rust...


Done


Does "I'll be back" equate to a do-while loop? :)


"I'LL BE BACK" is "return". "STICK AROUND" is "while", according to the list of keywords: here:https://github.com/lhartikk/ArnoldC#brief-overview-of-the-ke...


Async promise.


No, that is return.


All PR requests should require the comment “I’ll be back”.


all that's left is to hook in audio files so we can review code in arnold's voice


I would like to know what "consider that a divorce" does.


Fork()


When is SamuelJackson++ coming out?


Hastala Vista to exit the program!


Kokainum!

should generate exception, I would guess


Is this production ready?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: