Home of the Hanuman

pull up a comfy chair.

I can has cat that codez

with one comment

Spotted this on the back cover of Computing when it dropped on my desk this morning. Probably nothing new to some but it amused me no end.

LOLCODE is programming language that uses the same LOLspeak as our favourite LOLCAT meme.

For example -

HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
   UP VAR!!1
   IZ VAR BIGGER THAN 10? KTHX
   VISIBLE VAR
IM OUTTA YR LOOP
KTHXBYE

…set a variable, prints it, and then using a loop, increments it by one and repeats until it gets to 10.

Lots more complex stuff including more examples and even implementations over at the http://lolcode.com site.

Plus there’s a handy book from the O’Rly people.

Written by h4num4n

May 15, 2008 at 1:10 pm

Posted in geek

Tagged with

One Response

Subscribe to comments with RSS.

  1. Wait. What? The back cover of Computing? SRSLY?

    Adam

    May 15, 2008 at 6:55 pm


Leave a Reply