Here are some of the wackiest and craziest programming languages ever made.

Credit: Shutterstock
Programming can be fun and totally not fun at the same time but that's what makes it programming.

Some times people make some programming languages to test the boundaries of language design, these are known as Esoteric Programming Languages.

Here are some of the wackiest and craziest programming languages ever made.

Brainf**k

This language is completely messed up. It consists of an instruction pointer and only 8 characters - >, <, +, -, ., ,, [, ].
Here's a Hello World program:

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.


Shakespeare

This language was made by Jon Aslund and Karl Hesselstörm and was designed to look like a classic Shakespeare play. Variables are Shakespeare characters and constants are negative or positive nouns.
Here's a simple "Hello World" program in Shakespeare:


The Infamous Hello World Program.
  
Romeo, a young man with a remarkable patience.
Juliet, a likewise young woman of remarkable grace.
Ophelia, a remarkable woman much in dispute with Hamlet.
Hamlet, the flatterer of Andersen Insulting A/S.
  
  
                    Act I: Hamlet's insults and flattery.
  
                    Scene I: The insulting of Romeo.
  
[Enter Hamlet and Romeo]
  
Hamlet:
 You lying stupid fatherless big smelly half-witted coward!
 You are as stupid as the difference between a handsome rich brave
 hero and thyself! Speak your mind!
  
 You are as brave as the sum of your fat little stuffed misused dusty
 old rotten codpiece and a beautiful fair warm peaceful sunny summer's
 day. You are as healthy as the difference between the sum of the
 sweetest reddest rose and my father and yourself! Speak your mind!
  
 You are as cowardly as the sum of yourself and the difference
 between a big mighty proud kingdom and a horse. Speak your mind.
  
 Speak your mind!
  
[Exit Romeo]


Whitespace

What if there was a language made of only spaces and tabs? That's what whitespace is. It's literally made of blank spaces. It was created by Edwin Brady and Chris Morris at the University of Durham on 1 April 2003 (April Fool's Day). Here's a "Hello World" program in whitespace.

S S S T S S T S S S L
T L
S S S S S T T S S T S T L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S T T T T L
T L
S S S S S T S T T S S L
T L
S S S S S T S S S S S L
T L
S S S S S T T T S T T T L
T L
S S S S S T T S T T T T L
T L
S S S S S T T T S S T S L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S S T S S L
T L
S S S S S T S S S S T L
T L
S S L
L
L
As you can see, we've had to highlight the spaces for you to see the code itself. The red spaces are well, spaces. The blue ones tabs and the "L", linefeeds.

Malbolge

The language from hell! This esolang was created to the be the most impossible language to code in. Accurately named after the 9th circle of hell, Malebolge. It was created by Ben Olmstead in 1998. Here's a simple "Hello World" program in malbolge. (Warning you won't understand a thing):

(=&lt;`#9]~6ZY32Vx/4Rs+0No-&amp;Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc

Chef

This esolang was designed to look like a cooking recipe. Here's a hello world program in Chef:

Hello World Souffle.
  
This recipe prints the immortal words "Hello world!", 
in a basically brute force way.
It also makes a lot of food for one person.
  
Ingredients.
72 g haricot beans
101 eggs
108 g lard
111 cups oil
32 zucchinis
119 ml water
114 g red salmon
100 g dijon mustard
33 potatoes
  
Method.
Put potatoes into the mixing bowl.
Put dijon mustard into the mixing bowl.
Put lard into the mixing bowl.
Put red salmon into the mixing bowl.
Put oil into the mixing bowl. Put water into the mixing bowl.
Put zucchinis into the mixing bowl. Put oil into the mixing bowl.
Put lard into the mixing bowl. Put lard into the mixing bowl.
Put eggs into the mixing bowl. Put haricot beans into the mixing bowl.
Liquefy contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.
  
Serves 1.


LOLCODE

Designed to look like the speech of lolcats, LOLCODE is an esolang written using memes. (the cringey type).
Here's a hello world program in LOLCODE:


HAI 1.2
  CAN HAS STDIO?
  VISIBLE "HAI WORLD!!!1!"
KTHXBYE

Sometimes I question the existence of these languages. Which one was your favorite?

No comments:

Powered by Blogger.