msgbartop
坚持原创
msgbarbottom

08 Aug 08 early principles of X Window System

  • Do not add new functionality unless an implementor cannot complete a real application without it.
  • It is as important to decide what a system is not as to decide what it is. Do not serve all the world’s needs; rather, make the system extensible so that additional needs can be met in an upwardly compatible fashion.
  • The only thing worse than generalizing from one example is generalizing from no examples at all.
  • If a problem is not completely understood, it is probably best to provide no solution at all.
  • If you can get 90 percent of the desired effect for 10 percent of the work, use the simpler solution. (See also Worse is better.)
  • Isolate complexity as much as possible.
  • Provide mechanism rather than policy. In particular, place user interface policy in the clients’ hands.
  • 04 Sep 07 行为驱动编程(Behaviour-Driven Development) (BDD)

    本分大致翻译自http://behaviour-driven.org/

    行为驱动开发(BDD)衍生于测试驱动开发和验收测试计划,它将测试驱动开发与领域驱动设计的标准更紧密整合在一起,使这两种有效的开发方法之间的关系更加显著。通过 一个共通的词汇表(common vocabulary, 也称普遍语言),业务逻辑与技术之间的间隙得以弥合,使得我们可以将开发的重心放在交付具有较高优先级的,可验证的商业价值(business value,业务价值?)

    它展现给我们以三个核心原则为行为基础的框架:

    1.业务和技术是同一系统的相同方法
    (Business and Technology should refer to the same system in the same way - ItsAllBehaviour)
    2.任何系统都应该有明确并且可验证的业务价值
    (Any system should have an identified, verifiable value to the business - WheresTheBusinessValue)
    3.前端分析、设计和计划具有逐渐递减的效果
    (Up-front analysis, design and planning all have a diminishing return - EnoughIsEnough