Sign in
in
   
"It is the mark of an educated mind to be able to entertain a thought without accepting it."
-Aristotle

About Me

I am a co-founder of Notches, an early stage startup currently based in NYC. We are building a free, open reviews network that anyone can participate in and anyone can build on top of. You can find out more on our official blog.

Read more about my background.

Connect with me on...

Recent Readers

Flickr Photos

 

Warning:

This article is more than 45 days old. Given the speed at which the technology world moves, this post is probably somewhat out of date. Please keep this in mind when reading the post. If this is a tutorial, please check whether you are using the same versions mentioned in the article.

Friday Fun: LOLCODE! on the DLR

The LOLCAT is mildly amusing, but what I find really amazing is that someone actually took the time to write an implementation LOLCODE for the DLR

Imagine that, instead of writing boring old C# code, you wrote something like this:

HAI
CAN HAS STDIO?
I HAS A FISH ITZ "Yummy"
VISIBLE FISH
VISIBLE "HAI WORLD!"

I HAS A FIB
I HAS A A ITZ 1
I HAS A B ITZ 0

GIMMEH FIB

IM IN YR LOOP
  VISIBLE B

  IZ FIB SMALR 1?
  YARLY
    GTFO
  NOWAI
    VISIBLE "NOWAI"
  KTHX

  I HAS A TEMP ITZ A UP B
  LOL A R B
  LOL B R TEMP

  NERFZ FIB!!
KTHX

KTHXBYE

Incredible. As John said, though, if nothing else it's a great example of how to implement a simple language on the DLR.

Only published comments... Nov 23 2007, 03:07 PM by Tim

View related posts

 

Music Mp3 Albums - Everything about music » Friday Fun: LOLCODE! on the DLR said:

Pingback from  Music Mp3 Albums - Everything about music » Friday Fun: LOLCODE! on the DLR

November 23, 2007 5:17 PM