Engineering a Compiler, Second Edition (4)

  • 第207页
    A type system associates with each value in the program some textual name, a type, that represents a set of common properties held by all values of that type. The definition of a programming language ...
  • 第85页
    SECTION REVIEW Given a regular expression, we can derive a minimal DFA to recognize the language specified by the RE using the following steps: (1) apply Thompson's construction to build an NFA for...
  • 第64页
    Formally, a finite automaton (fa) is a five-tuple (S, 6, δ, s0, SA), where 1.S is the finite set of states in the recognizer, along with an error state se. 2.6 is finite alphabet used by the...
  • 第45页
    COMPILER CONSTRUCTION IS ENGINEERING A typical compiler has a series of passes that, together, translate code from some source language into some target language. Along the way, the compiler uses d...

从牛顿、达尔文到巴菲特 (1)

  • 第1页
    拓宽视野,多角度,运用多种模型思考,达到对事物更全面透彻理解。 实用主义观念,不过多纠结一个概念对与错,而从实用的角度分析是否有用。 人可以看做是处理信息的生物,但是信息在传输过程中可能因为引入噪音和...

Pattern-Oriented Software Architecture Volume 1 (1)

  • 第27页
    The discussion in the previous section leads u s to adopt a three-part schema that underlies every pattern: Context Design situation giving rise to a design problem Problem Set of forces ...

12 Essential Skills for Software Architects (6) 更多

  • 第77页
    Architectural Visualization Typically, when I am trying to present an architectural vision, I focus on diagrams that convey key concepts, models, data flow, process flows, assumptions, and risks. C...
  • 第76页
    Use Occam’s Razor “Occam’s razor is a logical principle attributed to the mediaeval philoso- pher William of Occam (or Ockham). The principle states that one should not make more assumptions tha...
  • 第74页
    Perceive Risk, Assess Impact, and Act (Bring Clarity to Risk) As an architect, you constantly face situations that demand your attention. Some come to your doorstep (direct requests for intervention...
  • 第73页
    As an architect, you should consider using the 4+1 View Model of Archi- tecture by Philippe Krutchen as a means of capturing essential details of the common vision. This approach uses logical, devel...
  • 第70页
    1.Communication principles: 1.1 Listen first,talk later. 1.2 Be there. 1.3 Be positive 1.4 Apologize early. 1.5 Avoid the feeling frenzy. 2.Communication strategies: 2.1 Pre...
  • 第23页
    1.Choosing relationship over correctness. Ask yourself these questions: Does making this correction matter? Will it cost the company significantly if I don’t speak up? The odds are that the ans...

编写可读代码的艺术 (2)

  • 第1页
    简化命名、注释和格式的方法,使每行代码都言简意赅。 ·梳理程序中的循环、逻辑和变量来减小复杂度并理清思路。 ·在函数级别解决问题,例如重新组织代码块,使其一次只做一件事。 ·编写有效的测试代码,...
  • 第1页
    清晰,简洁地表达思想: 1.具体,直接,无二义的命名 2.良好的格式和一致性 3.必要,精确,简洁,直接的注释
<前页 1 2 3 后页>