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.

Advertisements

Written by ukenaut

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: