鮑勃·馬丁(Bob Martin)的 程式設計師誓言

鮑勃·馬丁(Bob Martin)的 程式設計師誓言

鮑勃·馬丁(Bob Martin),軟體開發理論的巨頭

程式設計師誓言

為了捍衛和維護計算機程式設計師行業的榮譽, 我保證,盡我的一切可能做到:

我不會寫出有害的程式碼。

我寫出的程式碼將永遠是我最好的作品。我不會故意允許在衛星或者結構上有缺陷的程式碼。

每次釋出時,我都會生成一個快速、可靠、可重複的證據,證明程式碼的每個元素都可以正常工作。

我將經常釋出小版本,這樣我就不會妨礙其他人的進展。

我會抓住每個機會無所畏懼,不懈地改進我的程式碼。我永遠都不會損害它們。

我將盡我所能,保持自己和他人的生產力最大化。我不會做任何降低生產率的事情。

我將繼續確保支援其他人的工作,並且他們也可以支援我的工作。

我會誠實地給出數量上和精度上的估計。我不會作出做不到的承諾。

我將永遠不會停止學習和提高自己的技藝。

The Programmer’s Oath

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:

I will not produce harmful code。

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。

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

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

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

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。

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

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

I will never stop learning and improving my craft。