Re:ArnoldC – A programming language based on Arnold Schwarze...
by LeoNatan25 on Tuesday February 25, 2014 @02:57PM
(#7300020)
Well, I read some more. Safe to say, one of the funniest things in a very long time. As an Arnie fan, this is so much fun! Being on GitHub, can't wait to see what other funny ideas people bring into it. :D
throwing an exception: YOU KILLED MY FATHER BIG MISTAKE
catching an exception: COME WITH ME IF YOU WANT TO LIVE
finally: REMEMBER SULLY WHEN I PROMISED TO KILL YOU LAST
null value: @YOUVE JUST BEEN ERASED or @HASTA LA VISTA BABY or @I LET HIM GO
positive infinity value: @YOURE FIRED
negative infinity value: @WHAT KILLED THE DINOSAURS THE ICE AGE
NaN value: @IM PREGNANT
Examples of usage here: https://www.solidangle.com/
And the default case could be nominated by GET IN AND START PADDLING
YOU'RE ONE UGLY MOTHERFUCKER - User input
IF IT BLEEDS WE CAN KILL IT - Throw exception
CRUSH YOUR ENEMIES - Handle exception
1. http://en.wikipedia.org/wiki/Austrian_Death_Machine
I urge the author of the language to create ArnoldCSpec, so that other implementations can be given the opportunity to challenge the main one. :-D
FUCK YOU ASSHOLE - Equivalent of Perl die()?
Other suggestions for future expansion:
COME WITH ME IF YOU WANT TO LIVE
TRUST ME (An assert()?)
I NEED A VACATION