Wednesday, July 16, 2014

15 Bizarre (And Insane) Programming Languages That Exist

Some people say learning to program is hard, tedious and excruciating. It's like learning a new language, just to talk to a machine which needs to be told in very specific commands what to do and execute. For some reason, a group of people seem to think that programming itself isn't complicated enough, and thus 'esolang' was born. Welcome to the world of esoteric programming languages (aka esolang), where programmers push the conventions of language design. These languages are not meant to be easy to use. Quite the opposite, they are designed to challenge, frustrate and amuse programmers with their difficulty. There are many esolangs out there for you try but here are 15 of the most bizarre and insane of the lot. Recommended Reading: 10 Misconceptions That Are Not True About Learning Programming

1. Brainf*ck

True to its name, this programming language will give any programmer an instant headache. It was created by Urban Müller in 1993, as a language that could be implemented by a really small compiler, to amuse the programmer. The language uses only eight commands and an instruction pointer, each made up of a single character, making this an incredibly minimalistic language. Below is a sample of the headache-inducing code, one that will print out 'Hello World!':
+++++ +++ Set Cell #0 to 8 [ >++++ Add 4 to Cell #1; this will always set Cell #1 to 4 [ as the cell will be cleared by the loop >++ Add 2 to Cell #2 >+++ Add 3 to Cell #3 >+++ Add 3 to Cell #4 >+ Add 1 to Cell #5 + Add 1 to Cell #2 >+ Add 1 to Cell #3 >- Subtract 1 from Cell #4 >>+ Add 1 to Cell #6 [>. Cel  [...] 

No comments:

Post a Comment