诛仙修罗帝君在哪:13种最为荒谬的编程语言 - CSDN.NET - CSDN软件研发频道

来源:百度文库 编辑:九乡新闻网 时间:2024/04/30 11:29:28

13种最为荒谬的编程语言

2011-04-11 09:43 | 1239次阅读 | 来源:开源中国社区 【已有6条评论】发表评论

关键词:编程语言 | 作者:红薯 | 收藏这篇资讯

导读:这是一个娱乐贴,不要去问这些编程语言到底有没有什么实用价值,可以让我们感叹一下神奇和开发者独特的思维,这就是实用价值(没翻译全,看看示例代码就行了)。

1. Lolcode

LOLCODE是一种建立在高度缩写的网络英语之上的编程语言,一般来说如果一个人能理解这种网络英语就能在未经训练的情况下读懂LOLCODE程序源代码。

“Hello World” example:

HAI

CAN HAS STDIO?

VISIBLE “HAI WORLD!”

KTHXBYE

2. Befunge

Befunge 这门语言由Chris Pressey在1993年创造,本意为设计一种尽量难编译的语言……结果马上出现了一批编译器。

“Hello World” example:

"dlroW olleH">:v

^,_@

3. Brainfuck

Brainfuck,是一种极小化的计算机语言,它是由Urban Müller在1993年创建的。由于fuck在英语中是脏话,这种语言有时被称为brainf*ckbrainf***,甚至被简称为BF

“Hello World” example:

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

..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

4. Chef

Chef 的目标是让写程序看起来像菜谱

“Hello World” example:

Put cinnamon into 2nd mixing bowl

5. Piet

Piet 是一种可视化的编程语言,其代码本身就是可视化的,像个位图

“Hello World” example:

6. Shakespeare

Shakespeare 编程语言让程序看起来像莎士比亚的剧本。

“Hello World” example:

[Enter Juliet]

[Enter Romeo and Juliet]

[Exit Romeo]

[Exeunt Romeo and Juliet]

[Exeunt]

7. Whitespace

Whitespace 只考虑空格的排版,而完全置那些非空格字符于不顾。

A part of “Hello World” example:

8. INTERCAL

INTERCAL,是“Compiler Language With No Pronounceable Acronym”的缩写,itsatirizes aspects of the various programming languages at the time, aswell as the proliferation of proposed language constructs and notationsin the 1960s.

“Hello World” example:

DO ,1 <-#13

PLEASE DO ,1 SUB #1 <-#238

DO ,1 SUB #2 <-#108

DO ,1 SUB #3 <-#112

DO ,1 SUB #4 <-#0

DO ,1 SUB #5 <-#64

DO ,1 SUB #6 <-#194

DO ,1 SUB #7 <-#48

PLEASE DO ,1 SUB #8 <-#22

DO ,1 SUB #9 <-#248

DO ,1 SUB #10 <-#168

DO ,1 SUB #11 <-#24

DO ,1 SUB #12 <-#16

DO ,1 SUB #13 <-#162

PLEASE READ OUT ,1

PLEASE GIVE UP

9. Malbolge

Malbolgeis a public domain esoteric programming language invented by BenOlmstead in 1998, named after the eighth circle of hell in Dante’s Inferno,the Malebolge. The peculiarity of Malbolge is that it was designed tobe the most difficult and esoteric programming language. However,several of the tricks used to make understanding it difficult can besimplified away.

“Hello World” example:

('&%:9]!~}z2Vxwv-,POqponl$Hjig%eB@@>}=

`CB]V?TxuVtT`Rpo3NlF.Jh++FdbCBA@?]!~4XzyTT43Qsqq(Lnmkj"Fhg${z@

10. BIT

BITis a programming language in which the programmer has full access toall data in its essential machine representation. This is a powerfulprogramming tool, allowing manipulations of data that are convoluted in“higher-level” languages with various specialised functions thatoperate on more complicated and abstract data types.

A part of “Hello World” example:

LINENUMBERZEROCODEPRINTZEROGOTOONELINENUMBERONECODEPRINTONEGOTOONEZEROLINENUMBE

RONEZEROCODEPRINTZEROGOTOONEONELINENUMBERONEONECODEPRINTZEROGOTOONEZEROZEROLINE

NUMBERONEZEROZEROCODEPRINTONEGOTOONEZEROONELINENUMBERONEZEROONECODEPRINTZEROGOT

OONEONEZEROLINENUMBERONEONEZEROCODEPRINTZEROGOTOONEONEONELINENUMBERONEONEONECOD

EPRINTZEROGOTOONEZEROZEROZEROLINENUMBERONEZEROZEROZEROCODEPRINTZEROGOTOONEZEROZ

EROONELINENUMBERONEZEROZEROONECODEPRINTONEGOTOONEZEROONEZEROLINENUMBERONEZEROON

EZEROCODEPRINTONEGOTOONEZEROONEONELINENUMBERONEZEROONEONECODEPRINTZEROGOTOONEON

EZEROZEROLINENUMBERONEONEZEROZEROCODEPRINTZEROGOTOONEONEZEROONELINENUMBERONEONE

ZEROONECODEPRINTONEGOTOONEONEONEZEROLINENUMBERONEONEONEZEROCODEPRINTZEROGOTOONE

ONEONEONELINENUMBERONEONEONEONECODEPRINTONEGOTOONEZEROZEROZEROZEROLINENUMBERONE

ZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROZEROZEROONELINENUMBERONEZEROZEROZEROONE

CODEPRINTONEGOTOONEZEROZEROONEZEROLINENUMBERONEZEROZEROONEZEROCODEPRINTONEGOTOO

11. Ook!

Ook! is similar to Brainfuck, but uses the words “Ook!“,“Ook.” and “Ook?” instead.

“Hello World” example:

Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.

Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.

Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook.

Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.

Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook?

Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.

Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook.

Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook.

Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.

Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook.

Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.

Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.

Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.

Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.

Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.

Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.

Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!

Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.

12. ZOMBIE

ZOMBIE is a programming language designed for Necromancers,particularly evil ones. (Actually,what other sorts are there?) ZOMBIEis an acronym, and stands for Zombie-Oriented Machine-Being InterfaceEngine.

“Hello World” example:

HelloWorld is a zombie

summon

task SayHello

say"Hello World!"

animate

animate

13. HQ9+

HQ9+ is a joke language with four instructions:

H: Print “hello,world”

Q: Print the program’s source code

9: Print the lyrics to “99 Bottles of Beer”

+: Increment the accumulator

原文链接:http://www.oschina.net/news/17079/top-13-most-absurd-programming-languages

13种最为荒谬的编程语言 - CSDN.NET - CSDN软件研发频道 IT公司中最流行的10种编程语言 - CSDN.NET - CSDN软件研发频道 关于编程 鲜为人知的真相 - CSDN.NET - CSDN软件研发频道 【博文】醒醒吧,开发语言只是你手里的扳手 - CSDN.NET - CSDN软件研发频道 不需要计算机的程序员 - CSDN.NET - CSDN软件研发频道 程序员的本质 - CSDN.NET - CSDN软件研发频道 程序员的本质 - CSDN.NET - CSDN软件研发频道 10种经典的错误提示信息 - CSDN.NET - CSDN软件研发频道 软件开发七宗罪 - CSDN.NET - CSDN软件研发频道 MySQL数据库管理常用命令 - CSDN.NET - CSDN软件研发频道 Web开发人员必备的20款超赞的jQuery插件 - CSDN.NET - CSDN软件研发频道 有理想的程序员必须知道的15件事 - CSDN.NET - CSDN软件研发频道 【观点】微博的弊端和它的真正意义 - CSDN.NET - CSDN软件研发频道 冯大辉谈技术性创业团队的技术选型 - CSDN.NET - CSDN软件研发频道 8款超赞的最新jQuery插件工具 - CSDN.NET - CSDN软件研发频道 【评论】有多少开发人员是超过四十的? - CSDN.NET - CSDN软件研发频道 两个程序员(Chris和Steve)的故事 - CSDN.NET - CSDN软件研发频道 7款强大的Javascript网格插件推荐 - CSDN.NET - CSDN软件研发频道 这是给开发者的弥天大谎还是至理名言? - CSDN.NET - CSDN软件研发频道 18个最好的jQuery表格插件 - CSDN.NET - CSDN软件研发频道 Web开发/设计人员应当知道的15个网站 - CSDN.NET - CSDN软件研发频道 推荐15款很棒的文本编辑器 - CSDN.NET - CSDN软件研发频道 谈谈对于企业级系统架构的理解 - CSDN.NET - CSDN软件研发频道 优秀网页设计的10个设计技巧 - CSDN.NET - CSDN软件研发频道