欢迎来到一句话经典语录网
我要投稿 投诉建议
当前位置:一句话经典语录 > 格言 > 关于编程的格言

关于编程的格言

时间:2014-02-11 13:25

请求翻译高手翻译编程格言

1. One man's constant is another man's variable. 一个人的常数是另一个人的变量。

(一个人认为是常数,另一个人认为是变量)2. Functions delay binding; data structures induce binding. Moral: Structure data late in the programming process. 不懂3. Syntactic sugar causes cancer of the semicolon. 追求句法技巧将导致解析灾难(

)4. Every program is a part of some other program and rarely fits. 每一个程序都是另一个程序的一部分,但很少完全是。

5. If a program manipulates a large amount of data, it does so in a small number of ways. 如果一个程序处理大量的数据,那么它将只有很少的几种处理方法。

6. Symmetry is a complexity-reducing concept (co-routines include subroutines); seek it everywhere. 追求匀称是一种消除复杂性的方法(与子函数合作);应该不断的追求它7. It is easier to write an incorrect program than understand a correct one. 写一个错误的程序比理解一个正确的程序要简单8. A programming language is low level when its programs require attention to the irrelevant.一个程序设计语言是低级的,如果它关注一些不相关的东西 9. It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.100个函数操作1个数据结构比10个函数操作10个数据结构好 10. Get into a rut early: Do the same process the same way. Accumulate idioms. Standardize. The only difference(!) between Shakespeare and you was the size of his idiom list -not the size of his vocabulary. 开始墨守成规:做相同的事情用相同的方法,积累惯用法,了解标准。

你和莎士比亚唯一的区别在于掌握的惯用法的的数量,不是词汇的数量11. If you have a procedure with ten parameters, you probably missed some. 如果你有一个过程需要10个参数,你么也许你还漏掉了一些12. Recursion is the root of computation since it trades description for time. 递归是计算的根源,因为它以描述换取时间13. If two people write exactly the same program, each should be put into microcode and then they certainly won't be the same. 如果两个人写了完全相同的程序,那么他们应该在微代码级检查,这样就不回认为代码相同了。

14. In the long run every program becomes rococo - then rubble. 在长久运行时间的考验下,每一个程序都变的很脆弱15. Everything should be built top-down, except the first time. 每个程序都应该自顶向下创建,除了第一次。

16. Every program has (at least) two purposes: the one for which it was written, and another for which it wasn't. 每个程序最少有两个功能:一个是写它时想要得到的功能,另一个是写它是不想得到的功能17. If a listener nods his head when you're explaining your program, wake him up.如果一个听众在你给他讲解你的程序的时候点头,那么请你叫醒他吧18. A program without a loop and a structured variable isn't worth writing. 一个没有循环和结构化的变量的程序是不值得写的19. A language that doesn't affect the way you think about programming, is not worth knowing.一个编程语言如果不能影响你的思考方式,那么它就不值得你学。

20. Wherever there is modularity there is the potential for misunderstanding: Hiding information implies a need to check communication. 只要存在模块化,那么就会有误解的可能:隐藏信息意味着需要检查交流不太好翻译啊

关于一条做人谦虚的格言

人生贵相知,何用金与钱。

-(唐)李白 与朋友交,言而有信。

-(春秋)子夏 布衣之交不可忘。

-(唐)李延寿 君子与君子以同道为朋,小人与小人以同利为朋 。

-(宋)欧阳修 人生乐在相知心 。

-(宋)王安石 冤家宜解不宜结,各自回头看后头。

-(明)冯梦龙 于患难风豪杰。

-(清)魏禧 万两黄金容易得,知心一个也难求 。

-(清)曹雪芹 换我心,为你心,始知相忆深。

-(宋)顾夏 钟子期死,伯牙终身不复鼓琴。

-《汉书》 山河不足重,重在遇知已。

-鲍溶

关于顾全大局的名人名言

顾全大局名言 顾全大局经典语录 共收录关于顾全大局的名言2条要提倡顾全大局。

“组织”就是在你遇到困难时,他说无能为力;在你遇到不公时,他说要正确对待;在你的合法权益受到侵害时,他说要顾全大局;在你受到诬陷时,他说你要相信组织;在需要有人做出牺牲时,他说组织考验你的时候到了 ;当需要有人冲锋陷阵时,他说是你的坚强后盾;在你取得成功时,他说是组织培养的结果。

顾全大局名言海派清口创始人 周立波

谁知道关于珍惜时间的格言

时间就是生命时间就是金钱一寸光阴一寸金,寸金难买寸光阴

有关教育方面的格言警句 五个

母亲是孩子的第一任老师丰富的想象力比书本知识更重要没有情感, 道德就会变成枯燥无味的空话千教万教,教人求真;千学万学,学做真人受之以鱼,不如授之以渔

有关计算机的名言

Computers are useless. They can only give you answers.” - Pablo Picasso 计算机没有什么用处。

它们唯一能做的就是告诉你答案。

--Pablo Picasso “Distributed file systems are a cruel hoax.” - Zalman Stern 分布式文件系统是一场残忍的骗局。

--Zalman Stern “A computer lets you make more mistakes faster than any other invention in human history, with the possible exception of handguns and tequila.” - Mitch Ratcliffe 人类有史以来的所有发明中--也许不包括手枪或龙舌兰酒--计算机是让你犯错误最多最快的。

--Mitch Ratcliffe “Computers make it easier to do a lot of things, but most of the things they make it easier to do don’t need to be done.” - Andy Rooney 计算机使很多事情更容易做到,但其中大部分并不是必需。

--Andy Rooney “Computers do not solve problems, they execute solutions” - Laurent Gasser 计算机并不解决问题,它们只是执行解决方案。

--Laurent Gasser “Large increases in cost with questionable increases in performance can be tolerated only in race horses and women.” - Lord Kelvin 如果大幅增加费用换来的只是性能可疑的提升,这种情况仅仅出现在赛马和女人身上才是让人可以容忍的。

--Lord Kelvin “Memory is like an orgasm. It’s a lot better if you don’t have to fake it.” - Seymore Cray (on virtual memory) 内存就象性高潮。

不作假会好一点。

--Seymore Cray (对虚拟内存的评价) “Software Engineering is that part of Computer Science which is too difficult for the Computer Scientist.” - F. L. Bauer 所谓软件工程就是指计算机科学中对计算机科学家来说太难的那一部分。

--F. L. Bauer “Base eight is just like base ten really, if you’re missing two fingers” - Tom Lehrer 八进制和十进制其实也差不多,如果你少了两根手指头的话。

--Tom Lehrer “There are 10 kinds of people in the world, those that understand binary and those that don’t.” “There are 10 kinds of people in the world, those that understand trinary, those that don’t, and those that confuse it with binary.” 这个世界上有 10 种人,其中有些是能理解二进制的,有些则不懂。

这个世界上有 10 种人,其中有些是能理解三进制的,有些不懂,有些则把它和二进制弄混淆了。

“If you torture the data enough, it will confess” - Ronald Coase 如果你拷问数据到一定程度,它自然会坦白的。

--Ronald Coase “As far as we know, our computer has never had an undetected error” - Weisert 据我们所知,我们的计算机还没有未被检验出的错误。

--Weisert “If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.” 如果你交给某人一个程序,你将折磨他一整天;如果你教某人如何编写程序,你将折磨他一辈子。

“Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing.” - Dick Brandon 文档就如同“性爱”,当它好的时候,简直美妙得无与伦比;当它糟糕的时候,又糟得一塌糊涂。

--Dick Brandon “Programming is like sex: one mistake and you have to support it for the rest of your life.” - Michael Sinz 编程就好比“性爱”,一个错误就能让你一辈子不得安宁。

--Michael Sinz “Perfection is achieved not when you have nothing more to add, but when you have nothing left to take away.” - Antoine de Saint-Exupery 无一分可增不叫完美,无一分可减才是。

--Antoine de Saint-Exupery “Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer.” - Fred Brooks 爱因斯坦经常说必定存在对自然的简单解释,因为“上帝”不(应)是反复无常或独断专行的。

软件工程师可没有这样的信念作安慰。

--Fred Brooks “Managing senior programmers is like herding cats.” - Dave Platt 管理一堆高级程序员就象放牧一群猫。

--Dave Platt “If the code and the comments disagree, then both are probably wrong.” - Norm Schryer 倘若代码和注释不一致,那么很可能两者都是错的。

--Norm Schryer “If your computer speaks English, it was probably made in Japan.” - Alan J. Perlis 如果你的计算机说英语,那么它很可能是日本造的。

--Alan J. Perlis “\\\/* You are not expected to understand this *\\\/” - comment in the context-switching code of the V6 Unix kernel 这一句比较让人郁闷,还是不翻译出来的好:) --V6 UNIX kernel的context switching代码中的注释 “The generation of random numbers is too important to be left to chance” - Robert R. Coveyou, Oak Ridge National Laboratory 随机数的产生实在太重要了,不能够让它由偶然性来决定。

--Robert R. Coveyou, Oak Ridge National Laboratory “Before software can be reusable it first has to be usable.” - Ralph Johnson 在软件可重用之前先得可使用。

--Ralph Johnson “To err is human, but for a real disaster you need a computer.” 人的过失会带来错误,但要制造真正的灾难还得用计算机。

“Error, keyboard not found - press F1 to continue.” - BIOS system message 错误,没有发现键盘 - 按 F1 键继续。

--BIOS系统的提示信息 “When all else fails, read the instructions.” - L. Iasellio 走投无路时再去阅读说明。

--L. Iasellio “The memory management on the PowerPC can be used to frighten small children.” - Linus Torvalds PowerPC的内存管理可以用来吓唬小孩子。

--Linus Torvalds “Never trust a computer you can’t throw out a window.” - Steve Wozniak 永远不要信任那些你无法将其抛出窗外的电脑。

--Steve Wozniak “The most likely way for the world to be destroyed, most experts agree, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein 许多专家认为,导致世界毁灭最可能的原因是意外事件。

那正是我们在做的;我们是计算机专业人士,我们正在制造意外事件。

--Nathaniel Borenstein “The disadvantage of working over networks is that you can’t so easily go into someone else’s office and rip their bloody heart out” - Jim McDonald 将网络引入工作后的缺点是,走进某人的办公室并将他剥皮拆骨远不如以前那么方便了。

--Jim McDonald “I invented it, Bill made it famous” - David Bradley (wrote the code for Ctrl-Alt-Delete on the IBM PC) 我创造了它,比尔则让它声名远扬 --David Bradley (他在 IBM PC 上写出 Ctrl-Alt-Delete 的相关代码) “Unix is user-friendly. It’s just very selective about who its friends are.” UNIX 是很友好的,只不过它结交朋友时很有选择性。

“Welcome to DALNet! Where the men are men, the women are men, and the teenage girls are undercover FBI Agents!” - DALNet IRC Welcome Message 欢迎来到 DALNet

在这里“男性”都是男性,“女性”也是男性假扮的,而“十几岁的女孩子”都是 FBI 密探

声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。联系xxxxxxxx.com

Copyright©2020 一句话经典语录 www.yiyyy.com 版权所有

友情链接

心理测试 图片大全 壁纸图片