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.

我永远不会停止学习,并会持之以恒地提升我的技术。

posted @ 2019-12-13 14:05  莫逸风  阅读(46)  评论(0编辑  收藏  举报