Geek, programmer, foss enthusiast, loves Python,
Ex-Microsoft Student Partner, Ex-National Instruments.
You can
Subscribe to my blog,
Follow me on twitter. More about me here.
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:
)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
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