The first chapter of "Boulevard to Jane" compares programming to Yugong Yishan, which perfectly interprets the whole process of programming. In the Parable of 2000 years ago, the project organizers, team managers, programmers, technical analysts and many other roles. The first is the origin of the original demand: "Punish the north of the plug, access to the roundabout," and then the basic way of project communication: "Gather room and seek Yue", then is to determine the project's goal: "Biliping risk, referring to the south of the south, up to Hanyin" the final choice can be achieved by the technical solution: "Buckle stone In the project "Yugong Yishan", we recognize the fundamental of programming: order, branching, and looping. No matter what kind of project, even the "Yugong Yishan" of such a large project, when the project needs, and then determine the entire project workflow, which contains the necessary sequence, branching and looping structure, can be achieved through simple programming. The order, branching, and looping structures are the precise meanings of programming.
Import.java. Avenue to Jane. *;
A • Yugong Yishan
Import.java. Yugong Yishan. *;
public class Yugongyishan
{
Project Objective: Biliping insurance, referring to the south of Henan, up to Hanyin
Project management staff: Yu Gong
while (referring to South Henan, up to Hanyin)
{
For (move the mountain; the fool dies; age increases) {
Rate descendants of the Mitsuo, buckle stone ken Soil, Ji Hod in the Bohai Sea tail
}
If (a foolish man dies) && (with a child)
{
while (son and grandchild; Sun is born again)
{
Descendants move Mountains;
}
}
Two • Programming problems include sequence, branching and looping
Programming programs include order, branching and looping
if (Congenital retarded | | Lazy Day After Tomorrow)
{
Cannot learn to program;
}
if (be able to be sure that the day is cold before you wash your clothes && vice versa && daily until death)
{
You can program it;
}
if (Sick | | Cannot act | | Unexpected emergency, can skip the same day)
{
You can develop to the designer;
}
Three • program = algorithm + structure
If (you are familiar with a language)
The lower-level libraries of any language are similar, and the APIs are dependent on the operating system.
You can master and start programming skillfully within two weeks;
}
Java Pseudo-code