20年工作經驗的架構師寫給程序員的一封信

這是很好的一些習慣與思想,所以我就轉過來了。

《From an architect to a programmer 》

只有中文,讀完後好多地方還是不明白,於是就搜索了下原文,覺得原作者的好多想法並沒有被很好的翻譯出來,於是自己嘗試着重新翻譯下,並附上英語原文。

My team and I received this in our inbox from our architect six months ago when we started a new project:
我和我的團隊在六個月前收到了一封來自架構師的郵件,那時我們正着手開始一個新的項目:

I am very excited every time I start something new.
每次開始一件新的事情,我都無比激動。

Even after about 20 years of doing software, I feel those butterflies in my stomach when start on a new path.
儘管我已經從事軟件行業20年,但是每當開始一項新的旅程,我都興奮不已,並帶着一些緊張不安。

This is our journey together.
這次是我們一起的旅行。

I strongly believe that we are charting a course which is fun, challenging and enriching.
我堅信我們正在規劃的,是一個非常有趣,豐富,並且富有挑戰性的旅程(項目)。

I want to make this memorable to you and want to create experience fulfilling to you all.
我想給你們的,是一次難忘的回憶,以及一些非常豐富且有價值的經驗。

It is little idealistic but I want to make my business agenda, our technology strategy and your progress aligned to each other.
這也許是我的一廂情願,但是我真心希望我的工作筆記,還有我們一起的技術總結,能幫助彼此共同進步。

That way, when you do something great, we all benefit.
那樣的話,當你們做出一些不錯的東西的時候,大家都可以獲益其中。

I have deep respect for engineers and the code.
我一直對程序員以及他們的代碼表示深深的敬意。

1. Code is the KING. Documentation is just close behind it. So, write code such that it IS the documentation and it works.
1.代碼爲王,文檔只是緊隨其後,所以我們寫的代碼要作爲它自身文檔的代碼,保證它能運行。

2. TEST TEST TEST.
2.測試,測試,不斷的測試。

3. Unit tests ARE CRITICAL.
3.單元測試非常關鍵。

Every bug found past unit tests have two fold cost beyond developer.
每一個在單元測試後發現的bug都將花費開發者兩倍以上的精力。

Remember, I would prefer to pay you more salary than spend it on another QA organization and then fix bugs.
記住,我寧願多支付薪水給你,也不想花錢去找其他的OA團隊來修補這些bug。

But if you write buggy code, I will pay everyone and then you get smaller slice of the pie.
但是如果你的代碼滿是bug,那我將會把更多的錢付給其他人,然後你得到的,只能是一小部分。

4. Write efficient code for human reading and for CPU. It is never OK to write bad code.
4.寫高效率的代碼,讓其他人更好的閱讀,也讓CPU更好的執行。永遠不要滿足於你那根本不算好的代碼。

5. Read more than your job needs today. You dont progress only knowing what you need today but what you need tomorrow.
5.多讀一些今天工作需要之外的東西,如果你只知道今天需要什麼,而不知道明天需要什麼,那麼你自然不會進步。

6. Go home and once in a while cook food. YES, real food.
6.在家偶爾做做飯。是的,真正的做飯。

It will teach you the difference between following a recipe and creating a meal.
這樣可以讓你明白看菜譜和真正做飯的不同。

First is oriented towards knowing what you need to create the dish and second to create a meal with what you have......
菜譜只會告訴你做一盤菜需要什麼,然後當你真正去做了,才知道自己到底有什麼。

just a little difference.
這便是“看”與“做”的區別。

This was my biggest lesson as a startup company and it did not come easily.
這是創業公司給我的最大的教訓,它來之不易。

7. Innovation and good ideas (technology or product) originate everywhere. Please share with us.
7.創新和一些好的觀點(技術或產品)來源於生活的各個角落,記得和我們一起分享。

8. I know you hate business folks. I do see why.
我知道你們不喜歡業務人員。我也知道原因。

They sell what you cant produce;
他們賣那些你們無法開發的東西;

they promise when it cant be done;
他們承諾那些軟件根本不能實現的東西;

they ask more when they don't pay.
在客戶未付錢的時候他們會不停的對你們發出質問。

But business will not run without their ability to position the product.
但是如果沒有他們對產品的定位,沒有他們的業務能力,那麼商業將無法運作。

That is a hard skill.
這是項難以掌握的本領。

But share your thoughts with me and I will act as a buffer. All disciplines are needed to make a good organization.
但是如果你肯把你的想法與我分享,那我將作爲一個緩衝橋樑,可以更好的將大家組織起來。

9. Love your profession as an engineer. YOU CAN have engineering/developer role for lifetime AND MAKE A LOT OF MONEY AND HAVE RESPECT AND FUN.

要熱愛你工程師的職業,你可以一生都扮演工程師或開發者的角色,你會賺很多的錢,贏得別人的尊重,最重要的,你會樂在其中。


 

本文轉自 http://blog.csdn.net/keymo_/article/details/7407476

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章