大神Linus Torvalds语录

jopen 10年前

        英文原文: Linus_Torvalds

        译注:这篇语录虽然是俺翻的,但不代表俺已经深刻理解或完全赞同其观点。

        Linux 和 Git 之父 Linus Torvalds 曾说过这样一段话:

        “Bad programmers worry about the code. Good programmers worry about data structures and their relationships.”

        (低水平程序员总在考虑代码,高水平程序员总在考虑数据结构及其之间的关系)

        来自 如何理解 Linus Torvalds 的“什么才是优秀程序员”的话Linus 是个狂人,在 wikiquote 上收录了他的很多语录 。 俺节选了他一部分有代表性的语录翻译如下:

大神Linus Torvalds语录

        My name is Linus Torvalds and I am your god.

        我的名字是 Linus Torvalds,我是你们的上帝。(在 1998 Linux 大会上的自我介绍)

        If you still don’t like it, that’s OK: that’s why I’m boss. I simply know better than you do.

        如果你还是不喜欢 Linux,没关系,这就是为什么我在当家的原因:因为我对技术的理解比你更深。

        “Regression testing”? What’s that? If it compiles, it is good; if it boots up, it is perfect.

        “回归测试”?这是什么东西?如果代码能编译就是好的,如果它启动了,那就是完美的。

        Talk is cheap. Show me the code.

        空谈是不值钱的。给我看你的代码就好。

        Those that can, do. Those that can’t, complain.

        有能力的人一直在干活,没能力的人一直在抱怨。

        Really, I’m not out to destroy Microsoft. That will just be a completely unintentional side effect.

        真的,我没打算要摧毁微软。这种结果将会是完全无意中产生的副作用。

        I’m always right. This time I’m just even more right than usual.

        我就是永远正确。这次我比平时还要更正确一些。

        Nobody actually creates perfect code the first time around, except me. But there’s only one of me.

        实际上没人能一次就写出完美的代码,除了我。但是世界上只有一个我。

        If you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program.

        如果你的代码里需要有超过三层的缩进,那么你已经搞砸了,应该修改你的代码。

        Real quality means making sure that people are proud of the code they write, that they’re involved and taking it personally.

        真正的质量意味着让程序员为他们写的代码自豪,参与到编写代码之中并把它当做自己个人的事情。

        Standards are paper. I use paper to wipe my butt every day. That’s how much that paper is worth.

        标准就是纸张。我每天都用纸张擦屁股。这就是这些纸张的价值所在。

        I like offending people, because I think people who get offended should be offended.

        我喜欢埋汰人,因为我觉得那些被埋汰的人活该被埋汰。

        Portability is for people who cannot write new programs.

        “可移植性”的概念是为那些不会写新程序的人准备的。

        翻译: 伯乐在线 - 老码农  译文链接: http://blog.jobbole.com/50124/