• 2004-06-06

    Murphy’s Laws of Computer Programming - 墨菲电脑程序法则 - [Walter想说就说]

    版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
    http://walter.yourblog.org/logs/192718.html

    Definition A working program is one that has only unobserved bugs. Every non- trivial program has at least one bug Corollary 1 - A sufficient condition for program triviality is that it have no bugs. Corollary 2 - At least one bug will be observed after the author leaves the organization. Bugs will appear in one part of a working program when another ’unrelated’ part is modified. The subtlest bugs cause the greatest damage and problems. Corollary - A subtle bug will modify storage thereby masquerading as some other problem. Lulled into Security Law A ’debugged’ program that crashes will wipe out source files on storage devices when there is the least available backup. A hardware failure will cause system software to crash, and the customer engineer will blame the programmer. A system software crash will cause hardware to act strangely and the programmers will blame the customer engineer. Any given program, when running, is obsolete. Any given program costs more and takes longer. If a program is useful, it will have to be changed. If a program is useless, it will have to be documented. Any program will expand to fill available memory. The value of a program is proportional to the weight of its output. Program complexity grows until it exceeds the capabilities of the programmer who must maintain it. Undetectable errors are infinite in variety, in contrast to detectable errors, which by definition are limited. Adding manpower to a late software project makes it later. Make it possible for programmers to write programs in English, and you will find that programmers can not write in English. The documented interfaces between standard software modules will have undocumented quirks. The probability of a hardware failure disappearing is inversely proportional to the distance between the computer and the customer engineer.

    收藏到:Del.icio.us




    评论

  • 橘子,想了想了,呵呵,可是你老不在线哦~
  • 经典~
  • WATER



    还好吗

    有没有想橘子

    呵呵



    寂寞蓝橘

发表评论

您将收到博主的回复邮件
记住我