Argan diary (1)

Source: Internet
Author: User

Run, Gump

Today (2005.3.19), I brought a puppy back home. In fact, I have been studying it for a long time and haven't figured out what kind of it is, like bomei, and like a wax sausage, it is estimated that the coupling between two objects is too high, resulting in interface pollution. The dog is very small. It's almost as big as my slippers. It's brown and short hair. It's like a slipper when I move on the ground in blue. I insist on naming it "butty", so that I have been wishing for many years, but my wife thinks that the path of the dog is unstable. It is incredible to name it, in fact, I personally think this will violate the naming rules, which may make the system difficult to maintain. In addition, Bai yansong's son may also call this name. If the name is the same, it is estimated that the translation will fail. Later, I thought it should be called "Smelly" because it does not really taste "Object-Oriented". It is estimated that Martin Fowler's so-called bad smell is so, and his wife is too unsightly. Choose it, or "a-Gump". I hope it will have the same vitality as a-Gump, and its silly look is worthy of the name. What kind of novelty do you have in your life?

 

A new interface is introduced, resulting in large-area system adjustment. My wife and I are busy with cooking nest, cooking, taking a bath, and cutting our nails. during the whole process, my wife runs every five minutes and takes a dog to look at it, causing a serious decline in development speed, I have almost no unit tests. As the project owner, I am very angry and have serious consequences. But there is no way, the new interface does not provide any documentation for reference, and you can only keep viewing the source code. Later, I found that many designs were unreasonable and I had to reinvent them. I suggest abstracting every job into an interface and providing multiple implementations through the factory method, but the cost is too high, so let alone.

 

When we had dinner at night, we had trouble. New interfaces are not well integrated with old systems in our family, and there are also problems with compatibility. While a-Gump was eating, he made the whole living room and his own room all a grain of rice, and it was still happy to roll around. His wife had always loved cleanliness. At this time, his face was green, cold ........, It is wonderful to find a place to hide it. What happened in the next 10 minutes is unknown. I don't want to know either.

 

Because of the imperfect preliminary design of the system and the lack of unit testing in the development process, there is no beta testing or stress testing after system integration, and the problem cannot be solved by reconstruction alone, when the new interface really starts to execute the business logic, the bug is exposed one by one. A-Gump always refused to go to bed. He was so sleepy that he couldn't stop turning in his nest and screaming. My wife and I are always in a hurry. No way, personnel training and technical reserves are not in place. Once new customer needs are met, they will be helpless. Seeing that new functional modules cannot be integrated with our lightweight containers, what can we do this evening? Is it necessary to give our heavyweight container to it? Depressed.

 

Good luck. After a long white box test, we finally found the problem. It turned out that my wife and I added a newspaper to the lightweight container to avoid Memory leakage in the new function module. As a result, Argan was extremely dissatisfied and kept throwing exceptions, however, our debugging capabilities are extremely limited and we do not understand the debugging information, which wastes a lot of time. It seems that the multi-layer structure is not good. After the problem is solved on the site, there is no exception at last. A-Gump put his little head on the small claw and fell asleep. The two big ears are soft and soft, small claws from time to time, a bit of mouth flow out -------- this interface is designed too beautiful. My wife and I squatted at the side of his nest and watched it fall together for an hour.

 

My dear little gump, When will you grow up and run around with us?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.