Software engineering This course in the impression is a theoretical class, because there was no contact before, imagine the scene is: The teacher opened the PPT, and then the beginning of the scripted chanting. In the first class, as gift, the teacher opened a wave of nutritious chicken soup is really delicious, after listening to the oath of the feeling will certainly achieve a career (but I feel like a 90-minute rakugo). So the class listened to the sound of glass, after class soon forget almost. Then comes the so-called 11-item after-school homework, in fact, is a few simple jobs. There is a good saying: " difficult things do not do, simple things do not good, then what can you do?" ". In fact, I did complete the task, but then the score was not ideal, because it failed to publish according to the required requirements. So from my first post-class assignment, I realized that even if you can make a result, it's all in vain if you don't show it to the customer well. Just as you claim to be proficient in terrorize, but not in the same way as Wuchang.
Time came to the second class, I realized that if each class as a teacher's rakugo to listen to, but also only through the ear addiction, like to take the time to see the news, to see the news expressed shock, or empathy, after two hours to tell you what you see, but I do not know. So I decided to listen to the teacher's class, write some of the things I should pay attention to. With 90 minutes of passing, incredibly write a full page of content, but also marvel at the seemingly full of laughter "rakugo" can have so much information. Learn to extract information from other people's words . At the same time after class also left a large number of assignments, seemingly in the previous work on the basis of a slight increase in the difficulty, and then think of their own ideal in the way to achieve the perfect. Take one of the topics "write a program, achieve (positive, negative, divided) number of subtraction four mixed operation", think very simple, but really realize when the data structure to think good, design process, as well as various boundary conditions. Finally I felt it was very difficult to complete an ideal work at once, so I first implemented a simple version and then made improvements in the next iteration cycle, with Rome is not built in a day. do not understand the needs of the students and classmates must communicate more, discuss. the need to understand the wrong back of all the work is in vain. I just spent most of the day on a very simple requirement (about redirection) and then never implemented it. Finally found that their own understanding of the needs of the wrong.
In the program implementation part of the experience to write code is not the whole of programming, their own for the previous program, now seems to be ignorant, is because of the lack of comments. It is worth learning to read the code that someone else has written on the Internet that has regular comments. For the indentation of the program, the code after the indentation is really very readable, and the code is not correct, but looks comfortable. In the writing of the blog, before the results are discussed out even if the completion of the task, and later found that the outstanding students will be written like a blog paper, from the issue, to demand analysis, and then to the proposed solution, the implementation process of key steps in the presentation of the function code, as well as the future of the scalability of the description, Tell the story. Really feel shame, should learn. Technical difficulties can be achieved through outside training, but good habits of good style of cultivation can only rely on their own internal consciousness. never put things in the last second commit or implementation, for the need to complete as soon as possible, even if there are problems there will be many changes in the space to overcome their procrastination.
Finally, we talk about some of the points of knowledge encountered in the homework:
1. For Java's Equals method and "= =" before the understanding of their differences, but in the process of writing code, the problem is precisely here, and finally resolved. Now for yourself and the reader to do a bit of science.
The data types in Java can be divided into basic data types and composite data types. Basic data type: Byte,short,char,int,long,float,double,boolean. The comparison between them uses "= =", the comparison is the value.
When a composite data type (class) is compared with "= =", it compares their storage address in memory, unless they are the same as the same new object (the same address), they compare the result to true, otherwise the rest is false. All classes in Java inherit from the base class object, which has the Equals method in the base class, and the initial behavior of this method is to compare the memory address of the object. But for string,integer,date these classes, the Equals method has its own implementation, and is no longer a comparison class in memory address. For classes that do not overwrite the Equals method in a composite data type, they compare the address value in memory with the Equals method, because the Equals method in object is also implemented with "= =", so the result compared with equals is the same as the result compared with "= =". An example of string type:
String S1 = "Monday"; String s2 = "Monday"; S1==s2 is True, s1.equals (S2) is true because S1 and S2 point to the same "Monday" object, and the values are the same.
String S1 = "Monday"; String s2 = new String ("Monday"); S1==s2 is false because S1 and S2 refer to two different Monday objects with different memory addresses. S1.equas (S2) is true because the values are the same.
Reference from http://www.cnblogs.com/zhxhdean/archive/2011/03/25/1995431.html
2. For the preservation of text in Word frequency statistics: TXT file in the word frequency statistics to be saved in ANSI format (default), do not set to Unicode format.
3.java on the command-line compilation issue. My program at the beginning of the package Com.nune.homework This packet statement, class named Test, compile should be written as javac-d. Tset.java (meaning to generate a. class file under the current directory com/nenu/homework) and then continue running Java com.nenu.homework.Test. At first I wrote this: Javac Tset.java then run Java Test with an error "Class not found."
The road long its repair far XI, I will go up and down and quest.
---------------Mutual Encouragement!
Some experiences after the software engineering study--------two weeks