What is LOLCODE?
LOLCODE is a programming language created by Adam Lindsay in 2007 as a joke based on the writing style of early internet memes and "LOLcats." The syntax imitates broken internet grammar and humorous misspellings, making the code read like chaotic online messages rather than structured programming syntax. Despite its playful appearance, LOLCODE is a real, Turing-complete language and supports variables, loops, conditionals, I/O, and functions.
The goal of LOLCODE isn’t practicality—it’s entertainment. It transforms programming into humor, making the code itself part of the joke. You don’t just write logic; you write comedy disguised as syntax.
Specs
Language Type: Joke / Esoteric
Released: 2007
Creator: Adam Lindsay
Syntax Style: Internet slang and meme-speak
Typing: Dynamic
Execution Model: Imperative programming with meme keywords
CODE EXAMPLE (Hello World)
Below is the classic “Hello World” program in LOLCODE:
HAI 1.2
VISIBLE "Hello World!"
KTHXBYE
How It Works
- Keywords mimic meme text. For example:
-
HAImeans start program. -
VISIBLEprints text. -
KTHXBYEends the program.
-
- Variables are defined using
I HAS A. - Conditionals use phrases like
IZ,O RLY?, andYA RLY. - Loops use
IM IN YR LOOPandIM OUTTA YR LOOP.
Every command is written to feel like the programmer is typing in early 2000s internet chat style.
Strengths
- Extremely fun to write and read if you enjoy memes.
- Creative approach that makes programming feel light-hearted.
- Good for teaching programming basics in a playful format.
- Popular for developer jokes, memes, and portfolio humor.
Weaknesses
- Not useful for serious software development.
- Syntax can become messy and confusing in large programs.
- Limited tools and interpreter support.
- Hard for people unfamiliar with internet meme culture.
Where To Run
LOLCODE can be executed using interpreters available on GitHub or in online environments such as TIO.run.
Should You Learn It?
For serious work: No
For fun and internet culture: Yes
For teaching kids programming humorously: Yes
For writing readable code: Definitely not
Summary
LOLCODE transforms programming into a meme. Instead of traditional syntax, it uses chaotic internet slang that sounds like a joke—but still works. It’s not practical, but it remains one of the most iconic humorous programming languages, perfect for developers who enjoy experimentation and meme culture. Whether you write one program or a full project, LOLCODE proves that coding doesn’t always need to be serious to be creative.
Top comments (0)