大神Linus Torvalds語錄

jopen 11年前發布 | 6K 次閱讀 Linux

        英文原文: 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/

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!