Tuesday 19 October 2004 — This 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
Add a comment: