I’ve just been sent a link to an emerging programming language called “LOLCODE“, which is by far the funniest thing that I’ve seen for a long, long time.
Here’s an example of a Hello World program written in LOLCODE:
HAI
CAN HAS STDIO?
VISIBLE “HAI WORLD!”
KTHXBYE
Or simple loops:
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
Or file and exception handling:
HAI
CAN HAS STDIO?
PLZ OPEN FILE “LOLCATS.TXT”?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE “ERROR!”
KTHXBYE
Some people obviously have WAAAY too much time on their hands… 🙂