LOLCODE: A Programming Language Based on Lolcat Memes

in #coding7 years ago

LOLCode_logo.png
The internet is an amazing place, usually. And the world is filled with some amazing people and one of them is Adam Lindsay who created LOLCODE, a programming language whose syntax is based on lolcat memes. I am not kidding. The whole syntax is inspired by memes.

Every LOLCODE script begins with " HAI version_number" and ends with "KTHXBYE". You include packages by saying "Can has pacakge_name?" and you initialize variables by saying: "I haz a var it iz 12", where var = 12; Below is an example of opening a file in LOLCODE:

lolcode_example.PNG

The language even forces you to be polite. You have to say "Plz open" instead of the open() command that we are all used to. LOLCODE is a gentleman's langauge.

LOLCODE is a type of esoteric languages. Esoteric languages are ... weird languages that people have made because they can. They are not supposed to be used for anything other than having fun. The idea of esoteric languages are to test the boundaries of programming languages and bring a sort of panache to programming. Wikipedia calls it software art.

I believe LOLCODE is a part of a bigger conspiracy. Cats are planning to kill all human beings (you know your cat is trying to kill you, right?) and when they do, they will need a programming language to keep the world running. Enter, LOLCODE.

You can learn more about LOLCODE, here.

Sort:  

This sounds like you could have some fun with. xD Do you know the Shakespeare programming language already? It's also a very strange esoteric programming language which is worth taking a look at.

Haha! Yes. I did take a look at that. There are some weird but really fun esoteric languages out there. The one with just empty space is truly ingenuine.