zoukankan      html  css  js  c++  java
  • Rule of Modularity

    As Brian Kernighan once observed, “Controlling complexity is the essence of computer programming.” .
    Debugging dominates development time, and getting a working system out the door is usually less a
    result of brilliant design than it is of managing not to trip over your own feet too many times.

    Assemblers, compilers, flowcharting, procedural programming, structured programming, “artificial
    intelligence”, fourth-generation languages, object orientation, and software-development methodologies
    without number have been touted and sold as a cure for this problem. All have failed as cures, if only
    because they ‘succeeded’ by escalating the normal level of program complexity to the point where (once
    again) human brains could barely cope. As Fred Brooks famously observed [Brooks], there is no silver
    bullet.

    The only way to write complex software that won't fall on its face is to hold its global complexity down
    — to build it out of simple parts connected by well-defined interfaces, so that most problems are local
    and you can have some hope of upgrading a part without breaking the whole.

  • 相关阅读:
    2014华为员工年终奖及年薪盘点
    Gradle命令行黑魔法
    委托的那些事
    动态代理
    音乐播放
    Eclipse plugin web site 发布和版本更新
    JavaScript—之对象参数的引用传递
    Bootstrap 3 How-To #1 下载与配置
    代码审计和漏洞挖掘的思路
    核心C#
  • 原文地址:https://www.cnblogs.com/Chrome/p/3253228.html
Copyright © 2011-2022 走看看