portrait
I've been involved with a number of early-stage businesses, most recently as CTO of WinePicks. I've been sharing my thoughts on business, law and technology here for almost 8 years. Want to know more?

Friday Fun: LOLCODE! on the DLR

4 years and 3 months ago November 23 2007 Technology Friday Fun Things that amuse me .NET

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.

blog comments powered by Disqus