Programmers need more ethics.
And I’m not talking about ‘craftsmanship’ ethics such as “always make clean code”, “be agile” or “coffee should be consumed pure and black”.

No, I’m talking about real ethics:

Ethics, also known as moral philosophy, is a branch of philosophy that involves systematizing, defending and recommending concepts of right and wrong conduct.

Source: http://en.wikipedia.org/wiki/Ethics

PRISM

Almost all the programmers I know are very active online, and all of them are condemning the US government project called PRISM. It is a huge electronic surveillance program, recently revealed by Edward Snowden. This program collects (all) data from a huge list of international websites such as Google, Facebook, AOL, Apple, Yahoo, Microsoft, and more.

One can only imagine the magnitude of this project, it handles a humongous amount of data and it would have to filter and match the data. It will have a lot of (secret) API’s and other methods of collecting the data. And this is all created by…. us programmers!

Just say no…

Why would somebody help the government in making these applications? I ethically wouldn’t think about programming this. And I’m serious about it, I’ve already turned down two projects in my young career because of an ethical standpoint:

  1. Helping to tweak an algorithm for the Dutch government for missile guidance (it would have been a cool project!)
  2. A project for a telecom company doing deep packet inspection, enabling them to ask subscription costs for (free) mobile apps
    (such as WhatsApp)

Both these projects might influence my own, or other people’s life in a negative way, and I refuse to help people do that. It’s like being an arms dealer or gun manufacturer condemning the use of weapons. It would feel like selling a crowbar to a thief, making a bit of money, while actually enabling them to break in.

Ethics!

Maybe programmers should have an oath, something like the Hippocratic Oath or the Physician’s Oath. Here are some of the rules I follow:

  • I won’t write code which helps/enables people to harm others
  • I won’t write code which will limit other people’s freedom
  • I won’t work for companies using software patents to bully/attack other people and companies

If you have any good additions to the list, please drop a comment!

Tagged with:
 
  • Ramón

    It will only boost the salaries at Booz Allen ;-)
    Eventually somebody will do it …

    • http://www.redcode.nl royvanrijn

      Sure, someone will, but it would be better if less people did. People will always make guns, make drugs etc. But I’d rather see good chemists try to cure cancer or invent better paint than seeing them improve cocaine. Similarly I’d rather see good programmers build helpful tools than seeing them improve PRISM.

  • AJ

    Good point, but how are you sure that your code isn’t used? You say no to a project, but maybe Prism is using some open source project you contributed to. Or you discovered a algorithm that’s used for the wrong cause.

    • http://www.redcode.nl royvanrijn

      There is obviously a difference in direct and indirect help. When releasing code, you could always license your code with the mentioned ethical rules; this code, in any modified form, can’t be used etc.

  • q

    my hero <3