The practice of programming Chapter 4 Interfaces A good programmer should always be good at designing. The essence of design is to balance competing goals and constraints. When we do programming, we need to design a friendly, portable and flexible in…
The practice of programming Chapter 3 Design and Implementation In this section, we focus on one kind problem: generate random English text that reads well. The solution is called 'The Markov Chain Algorithm', and its main idea is shown as follows: F…
The practice of programming Chapter 2 Algorithms and Data Structures Searching sequential search (linear search): easy but the amount of work is directly proportional to the amount of data to be searched binary search:The number of steps is logn, so …
The Practice of Programming In the preface, the author illustrates four basic principles of programming - simplicity, clarity, generality, automation. I suppose that everyone has his own programming experience and preference, but with predecessors' v…
2015年计划透析10本英文原著,最开始选定的第一本英文书是<Who Moved my Cheese>,可是这本书实在是太短.太简单了,总体的意思就是要顺应变化,要跳出自己的舒适区,全文不认识的单词也不多,所以很快读完后就开始找第其它的适合我的英文书. 根据<把你的英语用起来>作者的推荐,从zyea要到了<Daughter of Deceit>的文本,发送到Kindle上阅读试试.这书对于我来说果然还是有难度的,前面一堆人物的出场,让我实在搞不清楚他们之间的关系.看了不…
FRP represents an intersection of two programming paradigms. Functional programming Functional programming is a programming paradigm where you model everything as a result of a function that avoids changing state and mutating data. Reactive programmi…