That's a picture of me in Baldwin Hills, Santa Monica
Bangalore based engineer currently helping SMEs grow via SMERGERS. Interested in Programming, Design, Startups and a few other things. MS-CS @USC, Los Angeles, BE @BMSCE.
I can be reached on
krishna [at] krishnabharadwaj [dot] info
Here are some of my other online profiles
Powered by Python and Django
kb
Geek, Programmer, FOSS Enthusiast, MS CS @USC. Loves Python / Django. Co-founder @ SMERGERS, Previously at Google, BlockBeacon, NI R&D

Programming is fun, many will agree with this.. Here is a programming language which makes it more fun with its syntax.. Its called the LOLCODE . I personally found it really cool. The way they have defined the tokens is simply awesome. Some of the tokens are:

Begin = HAI
End = KTHXBYE (ok thanks bye )
Print = VISIBLE
True = YARLY
False = NOWAI
Error = O NOES

The list is never ending. When i did my internship in vee technologies, we did use some funny names for variables. One of the greatest namakarana was from madhu. He was writing a piece of code which didn't work for a long time. It needed some more variables for complete execution, he created two variables and was thinking what he should name the third one. Then came the masterpiece $chombu (it was in PHP) , All of us were laughing like anything after seeing that.

When the syntax itself is like that, the program has to look funny. Here are some of the examples that are given in their website

To read a file


HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE


Demonstration of Looping


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


Ha ha.. I don't know till what level this language can be used for programming real world problems but it surely is a lot of fun..


blog comments powered by Disqus