OO fourth blog work (pay from 16231228)

 

 

First very sincere apology, this assignment to write DDL after the deadline for 30 minutes. . . .

Because of this high-tasking a new blog site work window, that deadline will be posted on the website, we have been waiting for a notification issued by the job, but did not wait, and finally wake up. . .

But despite this, still need to write the job, regardless of count points on his last official university courses to be a good show.

 The following is a dividing line ---------- ----------- job

 

"Students, you must remember to be happy."

 --from Wu last OO class in Engineering (University last class)

After hearing these words he burst into tears, this is the end of a course, but also the end of our youth.

 

 First, the structural design of the fourth unit operation

1, the first job UML

The operation code is very clear frame for each category, generates its own separate class for MyClass (wrong hands written myclazz) is encapsulated. This has the great advantage is that you can achieve a lot of new, more convenient to implement their own definition.

 

Bug fix:

This is actually the wrong job because they do not fully understand the definition of cause.

(1) For the de-emphasis, and determine whether it is the same, using his own name rather than a judgment based on the id (blame yourself ... common mistake)

(2) the issue of multiple inheritance

 

 

2, the second job UML

 

(Because the picture did not cut too full)

Architecture and the first job was exactly 14 class is called a master class.

 

Second, the architecture design and improved understanding of OO methods

 

From the chaotic first job, to the back of the elevator, UML, every job is a difficult leap.

The first job polynomial, simply follow their own way to the C language, there is no structure tricks, just to realize the function of forcibly code code patchwork.

At that time, most concerned about is not a design, structure, love to read is how HashMap call such level0 language stickers, remember being mad child to a regular storm the night crying, tools simply unskilled.

 

The second elevator operation, multi-threading, the problem will not occur in debugging, but also a rise in difficulty.

 

Normalized to the job section, when they saw guide book was secretly happy (Zhongyu Ao overdone), through a written submission rapid test found that the time complexity of the algorithm.

 

UML assignments section, there was the case almost not read the instructions, the definition of insanity is rolling.

 

 But each time after being hit, will own a lot of new things into consideration, such as algorithms, such as the time complexity, such as how to write is not easy out bug.

 

 Third, on the test

In OO, I feel the most important thing is tested. 40% of the time writing code, 60% of the time to find a bug.

For this own personal experiences, penultimate measured over the job there is no tube, and finally burst a bunch of points. . .

Penultimate time job, long after the lessons of crazy tests before they get out.

 

Fourth, the curriculum harvest

1, the code capabilities

Project than larger, every time we spend a lot of time coding

2, debug capability

 

3, the ability to stay up all night

The deepest impression is the last job in normalized time (even been wrong twice homework), at 3:00 of despair to debug. (Coincidentally, de bug finished out the library door found in students like me debug of ......)

V. Recommendations

1, the course website a bit more. . . . Did not remind each other, and found his first job actually to use both sites, it will be a reminder on the first guide book you commit website

2, can you remind it set about the job?

His last job left out, although they have to back a large part of the pot, but have been waiting for notification (notification has been before ...), it is a bit uncomfortable (like last job did not pay people a bit more. ..).

Guess you like

Origin www.cnblogs.com/RabbitYi1999/p/11080165.html