The first chapter of "Boulevard to Jane"--the semantic reading of programming (Java Pseudo-code form)
1. Yugong Yishan
A group of project organizers, group managers, programmers, technical analysts, etc.
The descendants of the three-person Dutch three technicians
The man is a foreign association
The target is "Biliping insurance, referring to the south of Henan, up to Hanyin"
public class Ygys; Define a class named Ygys
{
String personnel;
public static void Main (string[] args)//define main program
{
Personnel initialization
person = new String ();
while (mountain not flat)
{
if (Personnel dead)
{
A person = a son of a foolish male;
A foolish male = a son of a foolish male;
}
The Sons of fools or their descendants dig mountains;
}
Yamadaira
(Exit Loop)
}
}
2. Lengnuanzizhi
If the weather is cold, then wash your clothes first.
And if it's hot, it's the same day, until death.
If you have an emergency that is similar to illness, inability to act, and unexpected events, you can skip the day
public class know the warm and cold;//Define a class known as warm and cold
{
public static void Main (string[] args)//define main program
{
if (! ( Illness, inability to act, unexpected emergencies))
{
You can skip the day
if (day cold)
{
1. Wear clothes first;
2. Wash again;
}
Else
{
1. Wash first;
2. Dress again;
}
}
}
}
3. program = algorithm + data structure
public class write Good program; Define a class that is called a well-written program
{
public static void Main (string[] args)//define main program
{
First = clear logical relationship;
Second = design a good program;
Third = code implementation;
if (first && second && third)
{
I wrote a good program.
}
4. Language
if (Master a language you will find)
{
After learning a language
You will find no will, only happy not to like;
}
if (want to do numerical processing)
{
Learning language 1;
}
Else (want to do web development)
{
Learning Language 2;
}
........
5. Impressions
The public class writes the program;//defines a class called a write program
{
public static void Main (string[] args)//define main program
{
Already familiar with a development language
if (Master a language you will find)
{
I can learn to know and write programs in other languages in a short period of time;
}
Else
{
Learn a new language quickly;
Master and use it skillfully programming;
}
After you complete the previous step
if (Analyze requirements && determine method && analyze Good program structure: )
{
Write code completion program;
}
if (after completion of program && test used)
{
Optimize your own writing programs
Pay attention to the quality of your program
}
}
}
The first chapter of "Boulevard to Jane"--the semantic reading of programming (Java Pseudo-code form)