Guantanamo

Tuesday 19 October 2004This is more than 20 years old. Be careful.

I honestly don’t know how much of this is a joke, and how much is serious: Guantanamo is a tool that deletes all lines of code that are untested, as determined by code coverage tools. Two questions from the FAQ aptly demonstrate the philosphy:

Q: What about good code without tests? Will it be taken away and sent to Guantanamo too?
A: Yes. We follow our own rules here. Your code has to prove its innocence through coverage. We don’t have to prove that the code has bugs, we just assume it has. And therefore it must be taken away. It is for your own security.

Q: If good code is removed, doesn’t this question the validity of Guantanamo itself?
A: You can’t prove that untested code is good. Things that cannot be proven good must go.

This may take Deleting code too far...

Comments

[gravatar]
Well I guess the marketing ploy of the name found it's way into this blog effectively enough.

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
Comment text is Markdown.