Laws of Computer Programming

First Two Laws of Computer Programming

  1. Never trust a program that has not been thoroughly debugged.

  2. No program is ever thoroughly debugged.

Other Laws of Computer Programming

  1. Any given program, by the time all the bugs are out of it, is obsolete.

  2. Any given program costs more and takes longer than originally planned, even when this law is taken into account.

  3. If a program is useful, it will have to be changed.

  4. If a program is useless, it will have to be documented.

  5. Any given program will expand to fill all available memory.

  6. Program complexity grows until it exceeds the capability of the programmer who must maintain it.

  7. The sooner you start coding a program, the longer it will take.