zoukankan      html  css  js  c++  java
  • Code Complete-13/7/29

    Measure Twice,Cut Once!

    漫步到第三章:

    just is about upstream prerequisites。

    在构建活动开始之前,准备工作要做的周全。

    Upstream prerequisites is the most important of all. Before construction activities,the work of preparation should be made all around.。

    木匠的谚语"瞄两次,切一次"(三思而后行)与软件开发中的构建部分有着密切的联系,构建活动差不多占整个项目成本的65%。

    Measure Twice,Cut Once!,There is close contact with the part of construction activities. It also account for 65% in all the  project.

    准备工作的中心目的就是降低风险:一个好的项目规划这能够尽可能早的将或租用的风险清除掉,以使项目的大部分工作能够尽可能的平稳地进行。

    The work purpose of preparation  is reducing the risk :...

    事先做好计划能避免很多的压力。让你的经验引导你吧。

    ..

     管理者应该明白:编写软件不仅仅是写代码。

    ..

    Some Arguments:

    • Appeal to Logic诉诸逻辑
    • Appeal to Analogy诉诸类比       /a classical tip:程序员是软件食物链的最后一环。架构师吃掉了需求,设计师吃掉了架构,而程序员则消化设计。
    • Appeal to Data诉诸数据

    Here,在构建活动开始之前清除一个错误,那么返工的成本仅仅是“在开发过程的最后阶段(在系统测试期间或者发布之后)”做同样事情的十分之一到百分之一。

    这里的原则:发现错误的时间要尽可能接近引入该错误的时间。

    • Boss - Readiness Test"老板就绪"测试

    Self-fulfilling prophecie:我们已经非常详细地研究了需求和设计,我想不出在编码和调试期间还会遇到什么大问题。

  • 相关阅读:
    poj 3744 Scout YYF I (矩阵快速幂 优化 概率dp)
    Codeforces Round #272 (Div. 2) D. Dreamoon and Sets (思维 数学 规律)
    Codeforces Round #272 (Div. 2) C. Dreamoon and Sums (数学 思维)
    hdu 5067 Harry And Dig Machine (状态压缩dp)
    hdu 4810 Wall Painting (组合数学+二进制)
    hdu 4856 Tunnels (bfs + 状压dp)
    tc srm 636 div2 500
    poj 2096 Collecting Bugs (概率dp 天数期望)
    ABC182 F Valid payments
    AT2699 [ARC081D] Flip and Rectangles
  • 原文地址:https://www.cnblogs.com/Alandre/p/3224152.html
Copyright © 2011-2022 走看看