• 舌尖上的编程语言

  • 发表时间:2018-07-12 17:11 | 秀站网 | 点击数:
  • 计算机科学家、作家和业界知名程序员对编程语言的看法是什么样的呢?scriptol 博主整理汇聚了一些#编程语录#,现编译如下。(有些语录不好翻,故而都保留了英文原文。)

    Algol 60 (Then taken in C)

    “I couldn’t resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years.”

    Tony (C.A.R.) Hoare.

    “我没有扛住诱惑,加入了空引用,因为这很容易实现。(不过)这已带来了很多错误、缺陷和系统崩溃,在过去四十年中,这可能造成了十亿美元的损失。” —— 托尼·霍尔

    (注:托尼·霍尔实现了 Algol 60,维基百科关于 Algol 60 的词条介绍)

    Basic

    “It is practically impossible to teach good programming style to students that [sic] have had prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.” E. W. Dijkstra in “The Threats to Computing Science” 。

    “想给那些已经接触学习 Basic 的学生教好编程规范,几乎不可能。因为这些潜在程序员的脑子已经被摧残,并且没有痊愈的希望。” —— 迪杰斯特拉在《The Threats to Computing Science》上说的。

    (注: 迪杰斯特拉对 Algol 60 编译器有贡献。 )

    C

    “A C program is like a fast dance on a newly waxed dance floor by people carrying razors.” - Waldi Ravens. Programmer.

    一段 C 程序,就像某人手拿剃刀,在刚打蜡的地板上跳快舞。—— Waldi Ravens(程序员)

    “In My Egotistical Opinion, most people’s C programs should be indented six feet downward and covered with dirt.” - Blair P. Houghton. Programmer.

    依我自我的观点来看,大多数人的 C 程序应当缩进 6 英尺,并盖满了灰尘。—— 布莱尔·霍顿(程序员)

    “Going from programming in Pascal to programming in C, is like learning to write in Morse code.” - J.P. Candusso. Programmer.

    从 Pascal 编程转到 C 编程,就像是在学用摩斯码写程序。—— J.P. Candusso (程序员)

    “One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.” - Robert Firth. Author of programming books.

    罗马帝国崩溃的一个主要原因是没有“零”,他们没法表明他们的 C 程序已经成功执行完。—— 罗伯特·菲尔斯 (编程书作者)

    “Writing in C or C++ is like running a chain saw with all the safety guards removed.” - Bob Gray. Author.

    用 C 或 C++ 写代码,就好像在没有保护设施的链锯上奔跑。—— 鲍勃·格雷(作家)

    “It’s 5.50 a.m…。 Do you know where your stack pointer is?” - Anonymous.

    现在是凌晨 5:50…… 你知道你的栈指针在哪儿么?—— 无名氏

    C++

    “C makes it easy to shoot yourself in the foot. In C++ it’s harder, but when you do, you blow off your whole leg.” - Bjarne Stroustrup. Creator of C++.

    C语言可以让你容易用枪打到自己的脚;而C++则更不容易打到脚,但如果你硬开枪,则会轰烂你整个腿。 —— Bjarne Stroustrup

    C makes it easy to shoot yourself in the foot. In C++ it's harder, but when you do, you blow off your whole leg.

    “The evolution of languages: FORTRAN is a non-typed language. C is a weakly typed language. Ada is a strongly typed language. C++ is a strongly hyped language.” - Ron Sercely. Programmer.

    编程语言进化过程:Fortran 是一种无类型的语言;C 是一种弱类型语言;Ada 是一种强类型语言;C++ 是一种高度言过其实的语言。—— Ron Sercely

    “I invented the term ‘Object-Oriented’, and I can tell you I did not have C++ in mind.” - Alan Kay. Creator of Smalltalk.

    我发明了“面向对象”这个术语,我也可以告诉你,我脑子中并没有 C++。—— 艾伦·凯(Smalltalk 语言创造者)

    “The latest new features in C++ are designed to fix the previously new features in C++.” - David Jameson. Author.

    C++中的最新特性就是用来修正之前的新特性。—— David Jameson

    “Fifty years of programming language research, and we end up with C++ ?” - Richard A. O’Keefe. Computer scientist.

    五十年的编程语言研究,我们在 C++ 这结束了?—— Richard A. O’Keefe(计算机科学家)

    “C++ has its place in the history of programming languages. Just as Caligula has his place in the history of the Roman Empire.” - Robert Firth.

    在编程语言的历史中,C++ 有其地位。就如同 Caligula 在罗马帝国历史也有其地位。—— 罗伯特·菲尔斯

    (译注:Caligula 是罗马帝国第三个皇帝,是个暴君。)

    “Java is C++ without the guns, knives, and clubs.” - James Gosling, co-inventor of Java.

    Java 就是没有枪支、刀具和棍棒的 C++。 —— 詹姆斯·高斯林(Java 之父)

    “C++ is an horrible language. Even if the choice of C were to do *nothing* but keep the C++ programmers out, that in itself would be a huge reason to use C.” - Linus Torvalds, inventor of Linux.

    C++ 是一种恐怖的语言。

分享到:
  • 上一篇:百度站长平台测试通用工具图文详解 下一篇:微视点:历时五年 塞班终被诺基亚始乱终弃
  • 相关 明星娱乐 资讯
    精彩图库
    • 爱美
    • 健康
    • 情感
    • 美体