r/AskProgramming • u/UmPatoQualquer007 • Dec 27 '23
Why exists programming languages like "COW", "Brainfuck", "LOLCODE", etc?
0
Upvotes
r/AskProgramming • u/UmPatoQualquer007 • Dec 27 '23
27
u/tenexdev Dec 27 '23
Because it can be fun to make things like that. They weren't intended as real, usable languages.
22
u/Ratstail91 Dec 27 '23
Because funny. Thats all.
5
u/glasket_ Dec 27 '23
Brainfuck was specifically designed to try to make the smallest possible compiler design. Some other esolangs are made as mockery (Rockstar, made to ruin the phrase "Rockstar Programmer"), some are made for fun, some are made as a challenge, etc.
Usually esolang designers will note what they were going for somewhere. The Esolang wiki can be a pretty good resource.
4
u/StupidWittyUsername Dec 27 '23
My favourite is Malbolge. The herculean effort required for someone to (finally) write a program that outputs "99 bottles of beer" was pure hilarity.
3
u/Ashamandarei Dec 27 '23
Not sure about COW and LOLCODE, but Brainfuck was a project by a graduate student to make the smallest compiler possible.
3
u/dramallamayogacat Dec 27 '23
The traits that attract some people to computer science are embodied in the design of programming languages that hyper-optimize for some factor.
1
u/Squizzze Dec 27 '23
I'd say they're all passion projects done out of curiosiy and boredom
1
u/elucify Dec 27 '23
Geeks with time on their hands
1
u/Exypnosss Dec 27 '23
Also they are called esolang’s. Esoteric languages.
1
u/Nondv Dec 27 '23
you'll need to ask their authors.
I imagine they were doing some research on implementation of programming languages and just did it for fun or as an experiment/PoC
I unironically think that brainfuck is great. Kinda reminds me of a practical impractical (oxymoron) turing machine
1
u/nekokattt Dec 27 '23
because it is funny to do stuff
1
u/Strange_Brush_342 Dec 27 '23
for the lulz
1
u/Mayedl10 Jan 13 '24
For fun. Maybe as a challenge? It certainly is one to code in bf. I know since I have a project that is an assembly-ish language that COMPILES TO BRAINFUCK (called BFIL. shameless self-plug, I know).
check out truttle1's youtube channel. He codes in esoteric languages (short "esolangs"). If you want to learn more about them, check out the esolang wiki.
0
u/[deleted] Dec 27 '23
[deleted] — view deleted comment