I like it.
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 release code that is defective either in behavior or structure.
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 the code at every opportunity. I will never make the code worse.
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.
#10. I will always teach others to program well too, when I can.
I will document my code
Better would be to make it self documenting as much as is possible (since despite best intentions documentation - including comments in the code - are not always kept up to date).
From my perspective, it’s not a question of how it’s documented, so long as it is, and can then be followed once its originator has had a rather untimely encounter with the proverbial omnibus.
On a more serious note - that the code is documented, I agree, is the important part. The idea that code can be completely self-documenting is ridiculous, as is the idea that every single method, or worse, line of code, needs a slew of comments to support it. If someone can look at your work and know what it does, and when relevant, why it does it? That’s what matters.
I’d like to see something like this as part of the Programmer’s Oath:
I won’t shy away from best practices like progressive enhancement and accessibility because they seem too hard or like too much trouble.
I think we may have to agree to disagree…
A bus (contracted from omnibus, with variants multibus, motorbus, autobus, etc.) is a road vehicle that carries significantly more passengers than an average car or van. It is most commonly used in public transport, but is also in use for charter purposes, or through private ownership. Although the average bus carries between 30 and 100 passengers, some buses have a capacity of up to 300 passengers. The most common type is the single-deck rigid bus, with double-decker and articulated buses Bu...
Haha. Yeah, I’m going off of
I didn’t see the second (dated) definition there
Probably because many of us fail to read things anymore
If only Jeff also believed in writing software as if the person
using your code is a violent psychopath who knows where you live.
On the point of coding, I’d add:
I will do my best to program, so the code speaks for itself. If it can’t, I’ll help it with my own commentary.
I thought you meant me for a second, then I realized the context.
Are you suggesting that
@cpradio isn’t already a violent psychopath? News to me.
Wait people still think I’m nice? WTH!!
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.