当前位置:网站首页>The five most difficult programming languages in the world

The five most difficult programming languages in the world

2020-11-28 15:06:02 InfoQ

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" We usually talk about c、c ++、Java、Python Programming language , There are also languages that are difficult not only for most software developers , And it's almost incomprehensible ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" These languages are called Esoteric programming languages ( Or obscure language )."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Obscure languages are not designed for ordinary software development . They are designed as proof of concept , Or just a joke ."}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Here's a list of the five most difficult obscure languages . I tried to execute in every language “"},{"type":"text","marks":[{"type":"italic"}],"text":"Hello World!"},{"type":"text","text":"” Program , very interesting ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"italic"}],"text":" This article was originally published in Medium("},{"type":"link","attrs":{"href":"https:\/\/levelup.gitconnected.com\/5-most-difficult-programming-languages-in-the-world-549c3cf91b23","title":"xxx","type":null},"content":[{"type":"text","marks":[{"type":"italic"}],"text":"《5 Most Difficult Programming Languages in the World》"}],"marks":[{"type":"italic"}]},{"type":"text","marks":[{"type":"italic"}],"text":"), the InfoQ Translate and share ."}]},{"type":"heading","attrs":{"align":null,"level":1},"content":[{"type":"text","text":"Malbolge"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Malbolge from "},{"type":"text","marks":[{"type":"italic"}],"text":"Ben Olmstead"},{"type":"text","text":" On 1998 The invention of . This obscure language is considered the most complex programming language ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" It is said that Malbolge The author of a programming language has never written any programs in that language .Olmstead Nearly two years after the invention of the language ,Malbolge Medium "},{"type":"text","marks":[{"type":"italic"}],"text":"hello world"},{"type":"text","text":" The code appears ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is Malbolge Print in “"},{"type":"text","marks":[{"type":"italic"}],"text":"Hello World!"},{"type":"text","text":"” Code segment ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/35\/5b\/35cbe432d3399182406629dyyf49a35b.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is the output :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/4b\/5c\/4bc2d81426ae6e51bb867f9d94c97b5c.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":" Provided by the author — Code in tio.run perform "}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"INTERCAL"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"italic"}],"text":"Jim Lyon"},{"type":"text","text":" and "},{"type":"text","marks":[{"type":"italic"}],"text":"Don Woods"},{"type":"text","text":" On 1972 Developed in INTERCAL, It's a kind of humor "},{"type":"text","text":" Interesting "},{"type":"text","text":" Programming language ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" It was just called “"},{"type":"text","marks":[{"type":"italic"}],"text":" Programming languages that don't have pronouncable acronyms "},{"type":"text","text":"”."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"INTERCAL Designed many features that frustrate programmers ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" for example : It uses modifiers “PLEASE”. If you don't use it very often in your code “PLEASE”, Then the compiler can reject the code . It treats the program as “ Not polite enough ”. If the modifier “PLEASE” Used too many times , The compiler will also reject the code , Think of it “ Too polite ”."}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is "},{"type":"text","marks":[{"type":"italic"}],"text":"INTERCAL"},{"type":"text","text":" Print in “"},{"type":"text","marks":[{"type":"italic"}],"text":"Hello,World!"},{"type":"text","text":"” Code segment ."}]},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/a9\/4f\/a932d35e7ee1b42c7bdd29f2ea84e54f.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is the output :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/ce\/93\/ce5790943e9209c23ba14657fb8ed893.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":" Provided by the author — Code in tio.run perform "}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"Brainfuck"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Brainfuck from "},{"type":"text","marks":[{"type":"italic"}],"text":"Urban Muller"},{"type":"text","text":" On 1993 Annual development . The language was invented to entertain programmers ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" The name itself implies that the programming language is very difficult for any programmer to understand ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" The whole programming language has only "},{"type":"text","marks":[{"type":"italic"}],"text":" Eight different characters "},{"type":"text","text":", The language uses these eight characters to write all the code .Muller The original compiler was developed using only 296 Bytes ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is "},{"type":"text","marks":[{"type":"italic"}],"text":"brainfuck"},{"type":"text","text":" Print in “"},{"type":"text","marks":[{"type":"italic"}],"text":"Hello,World!"},{"type":"text","text":"” Code segment ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/1f\/e3\/1f33f2586abf7728e220eb691472f3e3.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is the output :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/10\/10\/10f81ae28a0c368d78e632c4435c7610.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":" Provided by the author — Code in tio.run perform "}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"COW"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"COW from "},{"type":"text","marks":[{"type":"italic"}],"text":"Sean Heber"},{"type":"text","text":" On 2003 Annual development . See it hello world After code , You will find out why this language is called “ COW”."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" At the level of difficulty ,COW And Brainfuck Quite a . And Brainfuck comparison , It also "},{"type":"text","text":" More "},{"type":"text","text":" Four orders , That is to say, there is... In the whole language 12 An order ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is "},{"type":"text","marks":[{"type":"italic"}],"text":"COW"},{"type":"text","text":" Print in “"},{"type":"text","marks":[{"type":"italic"}],"text":"Hello,World!"},{"type":"text","text":"” Code segment ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/bd\/a7\/bdb1684yyd8f21b073970e6ab83322a7.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is the output :"}]},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/61\/c6\/61183a8790c61a7282465da8e4de36c6.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":" Provided by the author — Code in tio.run perform "}]},{"type":"heading","attrs":{"align":null,"level":1},"content":[{"type":"text","text":"Whitespace"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Whitespace from "},{"type":"text","marks":[{"type":"italic"}],"text":"Chris Morris"},{"type":"text","text":" and "},{"type":"text","marks":[{"type":"italic"}],"text":"Edwin Brady"},{"type":"text","text":" Developed at Durham University . The language is published in 2003 April Fool's Day ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Any program written in this language depends on "},{"type":"text","marks":[{"type":"italic"}],"text":" Space 、 tabs "},{"type":"text","text":" and "},{"type":"text","marks":[{"type":"italic"}],"text":" A newline "},{"type":"text","text":".Whitespace The interpreter of will ignore non whitespace characters , And think of it as a code comment ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is "},{"type":"text","marks":[{"type":"italic"}],"text":"Whitespace"},{"type":"text","text":" Print in “"},{"type":"text","marks":[{"type":"italic"}],"text":"Hello,World!"},{"type":"text","text":"” Code segment ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" In the following code , Every "},{"type":"text","marks":[{"type":"italic"}],"text":" Space 、 tabs "},{"type":"text","text":" or "},{"type":"text","marks":[{"type":"italic"}],"text":" A newline "},{"type":"text","text":" It's all preceded by a note “S”、“T” or “L”."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/1d\/3c\/1dc5740b4da4c9165ee177a416e9c33c.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This is the output :"}]},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/1c\/a7\/1c68f26278b09e5f38835424deaca4a7.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":" Provided by the author — Code in tio.run perform "}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":" more "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" There are many similar ones "},{"type":"text","marks":[{"type":"italic"}],"text":" Obscure language "},{"type":"text","text":", You can visit the reference section of this article to explore ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" have access to "},{"type":"link","attrs":{"href":"https:\/\/tio.run\/","title":"","type":null},"content":[{"type":"text","text":" This website "}]},{"type":"text","text":", The site offers compilers and interpreters for almost all languages . Copy the code in the reference page , And use them happily on the site ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":" Reference material :"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Esolang wiki: "},{"type":"link","attrs":{"href":"https:\/\/en.wikipedia.org\/wiki\/Esoteric_programming_language","title":"","type":null},"content":[{"type":"text","text":"https:\/\/esolangs.org\/wiki"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Malbolge: "},{"type":"link","attrs":{"href":"https:\/\/esolangs.org\/wiki\/malbolge","title":"","type":null},"content":[{"type":"text","text":"https:\/\/esolangs.org\/wiki\/malbolge"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"INTERCAL: "},{"type":"link","attrs":{"href":"https:\/\/en.wikipedia.org\/wiki\/INTERCAL","title":"","type":null},"content":[{"type":"text","text":"https:\/\/en.wikipedia.org\/wiki\/INTERCAL"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Brainfuck: "},{"type":"link","attrs":{"href":"https:\/\/en.wikipedia.org\/wiki\/Brainfuck","title":"","type":null},"content":[{"type":"text","text":"https:\/\/en.wikipedia.org\/wiki\/Brainfuck"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"COW: "},{"type":"link","attrs":{"href":"https:\/\/esolangs.org\/wiki\/COW","title":"","type":null},"content":[{"type":"text","text":"https:\/\/esolangs.org\/wiki\/COW"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Whitespace: "},{"type":"link","attrs":{"href":"https:\/\/en.wikipedia.org\/wiki\/Whitespace_(programming_language)","title":"","type":null},"content":[{"type":"text","text":"https:\/\/esolanga.org\/wiki\/whitespace"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":" Link to original English : "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"https:\/\/levelup.gitconnected.com\/5-most-difficult-programming-languages-in-the-world-549c3cf91b23"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/11/20201128150158547a.html