The Programmer's Oath程序員的誓言----鮑勃·馬丁大叔(Bob Martin)

In order to defend and preserve the honor of the profession of computer programmers,
I Promise that, to the best of my ability and judgement:

爲了捍衛和維護計算機程序員的職業榮譽,我承諾,盡我所能和判斷力:

  1. I will not produce harmful code;

我不會去寫有害代碼;

  1. The code that I produce will always be my best work. I will not knowingly allow code that is defective either in behavior or structure to accumulate.

我寫的代碼將永遠被視爲我最好的作品,主觀上我不會有意地堆積有缺陷的代碼;

  1. I will produce, with each release, a quick, sure, and repeatable proof that every element of the code works as it should.

我將在每個發行版本中生成一個快速,可靠和可複用的證明,證明代碼中的每個元素都能正常運行;

  1. I will make frequent, small, releases so that I do not impede the progress of others.

我會進行小版本的快速迭代,以免阻礙他人的進度;

  1. I will fearlessly and relentlessly improve my creations at every opportunity. I will never degrade them.

我將把握住每一個機會去改善我的創作,我永遠不會降低我的代碼質量;

  1. I will do all that I can to keep the productivity of myself, and others, as high as possible. I will do nothing that decreases that productivity.

我將盡我所能地保持自己和他人的生產力,我不會做任何降低生產力的事情;

  1. I will continuously ensure that others can cover for me, and that I can cover for them.

我會持續確保別人可以接手我的代碼,同時我也能接手他人的代碼;

  1. I will produce estimates that are honest both in magnitude and precision. I will not make promises without certainty.

我會作出在數量和精度上都更接近事實的評估,我不會隨意做出承諾。

  1. I will never stop learning and improving my craft.

我永遠不會停止學習,並會持之以恆地提升我的技術。

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