The Programmer's Oath

程序员宣言,来源于Robert Martin(或者称为Bob大叔,软件开发理论巨头之一。其中最为世人所知的:敏捷宣言,SOLID原则)。

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

为了捍卫和维护计算机程序员的职业荣誉,我承诺,尽我所能和判断力:

(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)
  2. 我生成的代码永远是我最好的作品。我不会明知故犯地增加任何无论行为上还是结构上有缺陷的代码(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)
  3. 每次发布时,我要生成一份快速,可靠和可重复验证的证据,来确保代码的每个元素都应该是正常工作的(I will produce, with each release, a quick, sure, and repeatable proof that every element of the code works as it should)
  4. 我要经常做小版本发布,这样我就不会妨碍其他人的进度(I will make frequent, small, releases so that I do not impede the progress of others)
  5. 我要抓住每个机会,努力不懈地改进我的作品,我永远不会让它们退化(I will fearlessly and relentlessly improve my creations at every opportunity, I will never degrade them)
  6. 我要尽我所能地保持自己和其他人的生产力。我不会做任何有损生成力的事(I will do all that I can to keep the productivity of myself, and others, as high as possible. I will do nothing that decrease that productivity)
  7. 我要持续地确保有人能够支持我的工作,我也能支持他们的工作(I will continuously ensure that others can cover for me, and that I can cover for them)
  8. 我要在数量和精度上做出诚实的估计,不做毫无把握的承诺(I will produce estimates that are honest both in magnitude and percision. I will not make promises without certainly)
  9. 我永远不会停止学习和改进我的手艺(I will never stop learning and improving my craft)
0%