Friday, 1 March 2013

21 Laws of Computer Programming

 
1) Any given program, once deployed, is already obsolete.
2) It is easier to change the specification to fit the program than vice versa.
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) Only ten percent of the code in any given program will ever execute.
6) Software expands to consume all available resources.
7) Any non-trivial program contains at least one error.
8) The probability of a flawless demo is inversely proportional to the number of people watching, raised to the power of the amount of money involved.
9) Not until a program has been in production for at least six months will its most harmful error be discovered.
10) Undetectable errors are infinite in variety, in contrast to detectable errors, which by definition are limited.
11) The effort required to correct an error increases exponentially with time.
12) Program complexity grows until it exceeds the capabilities of the programmer who must maintain it.
13) Any code of your own that you haven’t looked at in months might as well have been written by someone else.
14) Inside every small program is a large program struggling to get out.
15) The sooner you start coding a program, the longer it will take.
16) A carelessly planned project takes three times longer to complete than expected; a carefully planned project takes only twice as long.
17) Adding programmers to a late project makes it later.
18) A program is never less than 90% complete, and never more than 95% complete.
19) If you automate a mess, you get an automated mess.
20) Build a program that even a fool can use, and only a fool will want to use it.
21) Users truly don’t know what they want in a program until they use it.

HAPPY CODING! :)


 

No comments:

Post a Comment