From the first chapter, we learned that the program is to start thinking in the hands, think good ideas and then to construct, and then follow the plan to write programs, so that a clear and orderly, even if errors can be found in time, so that their programming simple up. This method of programming separates thinking from the hands-on process, taking full advantage of programming features and simplifying the process of writing programs from complex, complete hands-on processes to thinking and writing programs. Reflect the importance of thinking, whenever, whatever, thinking is the most important. Because do not think, the foolish public will not think of the mountain, not to think, the foolish public will not be arranged so orderly.
Here's an analysis of the Yugong Yishan project.
The original demand
The road to the north of the mountain
The basic way of project communication
Gather room and seek Yue
Objectives of the project
Biliping Insurance, referring to the south of Henan, up to Hanyin
Technical Solutions
Buckle stone Ken, Ji Hod transported in the tail of the Bohai Sea
In this project, the use of three technical staff and an engineering management staff: "(foolish) rate descendants of the Mitsuo" and won a weak, but full of passion for work outside the association: "The Widows wife of the city of the neighbour, there are men, beginning ageing, jump to help"
Implementation scenarios
"Though I die, there is a son," here describes the possible branch structure, that is, "IF" condition judgment.
"Son and grandchildren, sun and son; Posterity, infinite Chamber ", describes the cycle structure necessary to complete the project.
As a good program analyst, the foolish Public discusses the feasibility of this cycle: because "the mountain does not increase", so the condition "Yamadaira" will be set up ("Why and Injustice"), so this will not be a dead cycle.
Pseudo-code section:
Import.java. Avenue to Jane. *;
Import.java. Yugong Yishan. *;
public class Yugongyishan
{
If (a Foolish man dies)
There are children to carry out the task of the mountain;
Else
The foolish public himself completed the task of shifting mountains;
while (descendants exist)
{
Son and Sun, Sun and son;
Biliping Insurance, referring to the south of the south, up to Hanyin;
}
The realization of this project, the end;
}
The first chapter of the "Boulevard to Jane" pseudo code