Friday, June 01, 2007

(defclass lolcode (programming-language lolcats) ... )

The latest phenomenon that has taken the internet world by storm is lolcats. OK, I exaggerate. It isn't really that new, the first reports came in around April, 2007 and has been reported on various net culture watch-blogs. But with the pace at which my blog gets updated, this is new enough. Yet another sore reminder of how I'm completely oblivious of the hip-culture on the net. I always considered myself net-savvy and up-to-date on the latest craze and fads, but I guess I'm getting too old for that. I first saw it on Language Log and have been seeing a lot of examples recently, because my wife loves looking at those cat macros.

Of course, to preserve the guy image, I've to profess my utmost disgust at this silly fawning over cute cat images, despite the fact that the captions are quite clever and require quite a bit of imagination. So why am I blogging about this?

Well, a recent post at Language Log indicates that out of the lolcats phenomenon has emerged a new programming language lolcode which uses the lolcats slang for its control constructs. I'm neurotic about learning new programming languages and cannot sleep with the knowledge that there is a programming language out there in which I cannot write a simple "Hello World" program. Thus, encountering languages like Whitespace and Brainfuck previously. So I headed out to the lolcode website to see if there were any tutorials and interpreters for the new programming language. Turns out they're still arguing about syntax for the control constructs. The discussion is quite funny, especially the ones for if-then-else conditional and for-loops. You guys might want to check it out.

And thanks to Wikipedia, now I've found an entirely new list of programming languages that I've never heard of! Look at the Categories section at the end of the wikipedia link for Whitespace or Brainfuck. There is a programming language based on Klingon. Neat huh?