Created
June 11, 2017 07:25
-
-
Save sz-alpar/80c20f7e4b66ecf3c62cfbb2d06e35d7 to your computer and use it in GitHub Desktop.
Programmer's Oath by Robert C. Martin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Programmer's Oath by Robert C. Martin | |
* http://blog.cleancoder.com/uncle-bob/2015/11/18/TheProgrammersOath.html | |
*/ | |
val PREAMBLE = """ | |
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: | |
""" | |
val PROMISES = """ | |
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 decreases 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 precision. I will not make promises without certainty. | |
9. I will never stop learning and improving my craft. | |
""" | |
val OATH = "$PREAMBLE $PROMISES" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment