程序员的誓言

程序员的誓言

  • 我不会去写有害代码;

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.

原文:http://blog.cleancoder.com/uncle-bob/2015/11/18/TheProgrammersOath.html

by Robert C. Martin (Uncle Bob)

猜你喜欢

转载自blog.csdn.net/wide288/article/details/87776168
今日推荐