请求翻译高手翻译编程格言
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了请求翻译高手翻译编程格言相关的知识,希望对你有一定的参考价值。
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.
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.
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.
http://leikao.spaces.live.com/blog/cns!d9e2113cefdf9428!234.entry
一个人的常数是另一个人的变量。(一个人认为是常数,另一个人认为是变量)
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.
只要存在模块化,那么就会有误解的可能:隐藏信息意味着需要检查交流
不太好翻译啊 参考技术A 搞不懂...但是真想懂
以上是关于请求翻译高手翻译编程格言的主要内容,如果未能解决你的问题,请参考以下文章