The fourth chapter summarizes OO

First, the summary of the architecture design of this unit twice a job

These two architectures similar operations, id first input of each element associated with the reference relationship between the reconstructed object, and then analyze the information needs to be acquired various instructions, extracting from the reconstructed structure.

Wherein, for the class or interface inheritance, implementation, query the state of FIG subsequent repeated checks succession, using a breadth-first traversal manner, this also encapsulates an iterator to traverse. (Although the closure was not good, the second job in order to support a variety of special traversal plus a ton flag.)

Third, summed up his understanding and practice test in four cells Evolution

The first unit, I mainly manual testing, this time not many major cases, the sample manually constructed coverage is still enough, did not appear the case of large-scale roll-over.

The second unit used a number of means of automated testing, but the data is still manually constructed, missing a critical situation, a fatal error occurs in the transfer logic, the intensity measurement hi mentioning 0.

The third unit is still automatic test mode, the test data using a conventional data generated automatically, and manual pressure data structure boundary data, error-prone situation combined, in the second, the good performance of three operations. The first operation, by Hemopurification formula qsort effects, ignoring overflow problems integer subtract, compare several hanging path size.

The fourth unit negligence, not designed to fully test the paint under pressure, there is a problem with regard to the timing diagram participate Endpoint count objects, he hung up a point (say up this bug actually just hung up a point) .

IV Summary harvest their own curriculum

Before writing program generally small number of rows, the logic is simple, it wants to get the title Mang, in OO, the architecture design becomes important, what classes you need to use some time to think before writing the program design, what is the relationship between class yes. In addition, OO also exercise my writing code rate, compression capability , risk tolerance and so on.

Fifth, based on their own experience curriculum recommendations to mention three specific improvements

My heart has two wishes, one instructor can write clearer, another guide book can also write clearer.

Guess you like

Origin www.cnblogs.com/muchan/p/11074672.html