Four weeks ago summary

1, work summary

The first job is mainly used c language knowledge of process-oriented design of Java. The second job starts to transition from a process-oriented object-oriented, calculate the number of days those years and judgment leap year and day of the week and days after the request n n days ago, the use of mathematical ideas, and then write out the Java language, simplified operation process. Calls between class and class, makes the algorithm easier. Operation encountered problems on codes and logical thinking, first through the general operation or to find a similar problem-solving ideas, it does not work will consult the teacher. First time job and a second job to spend shorter, because there are similarities between the subject and topic areas. The third work, then, because it is primarily an object-oriented content, for me, have not so skilled, they spend a lot more time to study how the object-oriented is all about. I found the definition of some variables to be very rigorous in the programming process, because in the second operation, I have been hard on a test point, is the problem because of a variable. There is to sort out the logical relationships between all the variables, the logical relationship between each each method. So at the beginning of hands-on homework when you can design a UML class diagram, which will facilitate testing.

2, java design ideas
of object-oriented programming and the time process-oriented, programming difference in essence, different ways to solve the problem, object-oriented, then I have to step out to solve the problem analysis, then you can use the function of these steps, step by step implementation, time to solve this problem, this is a function of a call. Object class is a good number of points, there is a correlation between class and class, the main emphasis is object-oriented words. Single responsibility principle is to emphasize an object has one and only one function, but also the only change can trigger a feature needs to modify the object implementation. Dependency Inversion Principle high-level modules should not depend on low-level modules, both should depend on the abstract interface, concrete realization also depends on the abstract interface. The principle of opening and closing in classes, modules, functions of external expansion should be open, but closed for modification. In the process-oriented programming is a Java function center for a programming method and Consideration tissue, primarily as a program function or process basic organization, the system consists of a set of functions related to the sequence of procedures and functions in the program, it emphasized that the realization of functions. The object-oriented way of thinking closer to the real world. He objects to the center of the internal organization and external environment objects separated by his behavior and properties constitute a whole. The introduction of the object enhanced organizational programming, reusability and flexibility.

3, understand and practice tests can
test project is the product development process for error review, a process that guarantee its quality, it can start to develop basically completed. First, it examined whether the results close to the expected development goals, can also be found defects encoded looking bug, avoid the pitfalls in software development, software quality measure, focusing on the needs of users. He is an important part of software development. The first call about this software coding system which, second, to understand the order and service method calls it calls the system, and the third, interface problems, such as response time, these abnormal returns. It can be analyzed from three aspects. Do not try to repeat the test case, extra things. Starting from the coding function, test operation, expected operating results. If the results of operations and the expected results are not the same, the coding error. We can go through a graphical table summarizes the use cases. Function also needs careful analysis, the input fields and the program is divided into several portions, select a small number of representative data from each part as a test case. Such boundary test points, the effective equivalence class, invalid equivalence class, minimum, maximum, etc., may be provided different business scenarios.

4, lessons and harvested
before this semester did not start, I know, our main task this semester to learn Java, which is the most important language to learn our profession. At the beginning, because I think Java is a more powerful object-oriented programming language, not only because of its cross-platform, because it is more flexible and practical, it can be a very powerful language, so I'm very interested in it, did not feel much pressure. We start from the first lesson, I began to have some doubts. Speak process for starting teachers feel it is not particularly clear. After the after-school learning through knowledge of the Mu class, understand the installation and use of the Java compiler, I began the journey of writing code. In the last few weeks of study, I found that in the preparation of the code, a small symbol, a constant set of variables to consider all our careful and rigorous. Let me know how software development is not easy. Faced a variety of errors in the homework process, thanks to the help and guidance of the teacher's students, just let my own coding ability has improved. Now I have been able to complete their work, and occasionally there are some small mistakes, but also to identify and solve their own. The teacher talked about some of the knowledge and some of the rules, but also has helped me write code. Java the language, I think it's more a test of our ability and logical thinking, but also let us feel the charm of java language.

Guess you like

Origin www.cnblogs.com/yeqingyq/p/12607752.html