Next Gen
As far as programming languages go, I’ve never really got into Ruby on Rails. Not surprising really. It’s shit. A much better language than Ruby is currently in development and standards are being agreed on right this minute (well, not this minute but you know what I mean, don’t you.) The language in question is LOLCODE and there are currently compilers being written in .Net, Java, C and Python amongst others. The goal is to develop the ultimate standard in web languages - LOLCODE ON MONORAIL.
I think they’re on the right tracks. Check out this simple Hello World program:
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
Getting user input is pretty straight forward:
HAI
CAN HAS STDIO?
I HAS A VAR
GIMMEH VAR
VISIBLE "You said " N VAR N " !!"
KTHXBYE
Looping is in there too:
HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
UP VAR!!1
VISIBLE VAR
IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE
Conditional statements (and use of the commenting keyword - BTW)
HAI
CAN HAS STDIO?
I HAS A VAR
GIMMEH VAR
IZ VAR BIGGER THAN 10?
YARLY
BTW this is true
VISIBLE "BIG NUMBER!"
NOWAI
BTW this is false
VISIBLE "LITTLE NUMBER!"
KTHX
KTHXBYE
There are some standards I disagree with and suggestions on the F13 forums so far have included replacing STDIO with IM, looping through a set of numbers should be more like “IM IN YR LOOP COUNTIN MY NUMZ FROM ZERO 2 TEN”. Not sure I like the use of VISIBLE as an output command either. True being YARLY and false being NOWAI is genius though.
KTHXBYE!

That’s made my day, that has…
(Fridays are easier to make than other days)
Comment by QE — June 1, 2007 @ 11:10 am
IM IN UR P00TER PLAYIN WIF UR BITSEZ
Comment by razorhead — June 1, 2007 @ 11:13 am