最难的编程语言

来源:互联网 发布:数据库没有了 编辑:程序博客网 时间:2024/06/06 08:39

Most Difficult (and Strangest) Programming Languages

there are programming languages that take difficulty to the God level. These languages are known as esoteric programming languages.  The reasons behind creating them were generally to test the boundaries of programming language design, or as a joke. The good news is that they will never be mainstream, so you can get away with not learning them!

Without further ado, the most difficult programming (or weirdest?) languages that exist are…

Brainf*ck

Brainf*ck was invented by Urban Müller in 1993 in an attempt to make a language for which he could write the smallest possible compiler for the Amiga OS, version 2.0.

Brainf*ck operates on an array of memory cells, also referred to as the tape, each initially set to zero. There are only 8 commands in the language.

The 8 Commands are ><+-.,[]

"Hello world" code looks like this:

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




0 0
原创粉丝点击