Technical debt (hen's encounter)

Source: Internet
Author: User

Technical debt is a rush to achieve a function, but the existing library has been destroyed (in the process of implementation of the code to pollute the design of the library), which for some project managers/customers like a heavenly book yarn. Maybe they understand, just don't want to admit it, I guess so. Anyway, I came up with a little story, and when it happens next time, I need to explain to them the cost of adding some new features to the story.

A farmer has 3 hens. Each hen lays the next egg every day. The farmer is doing business with a local food store owner. The Grocer buys 2 eggs a day from the farmer and sells them in the store. Everything was fine until one day, the grocer's owner appeared at the Farmer's house:

Food shop owner : Gee, I need some chicken today.

farmer : Chicken? You and my business do not cover this.

Food shop owner : I know. But I really need some chicken. I plan to do a b2s (s is the abbreviation of the stomach) mode PAAs (P is the abbreviation of poultry) platform.

farmer : What?

Food shop owner : something very important. Can you offer me some chicken?

farmer : So, things are not so easy-I want to hatch eggs, when chicks grow up to give you ... It will take one months to say less.

Food shop owner : one months? Too long ... I thought you could give it to me right now.

farmer : Time has its own steps, you must be patient and so on.

Food shop owner : But why can't you kill one of the existing hens? In this way, I have chicken, you can also produce two eggs a day. That's enough, isn't it?

farmer : But, I don't think that's a good idea. This pushes me into a situation where there is no room for manoeuvre, in case there is a sudden accident in the remaining chickens.

Food shop owner : Don't worry, it won't happen. I really need the chicken very much! Kill a chicken!

farmer : Well, I guess I can ...

So the farmer took up a knife and sent his hen to heaven. The food store owner got his chicken and returned to the grocery store.

A week later, the grocer came to the farmer's house again:

Food shop owner : Hello, here I come!

farmer : Hello, what's the matter?

Food shop owner : You listen to me-your chicken is great. In fact, it's so tasty and so good to sell that you have to give me another chicken. At the latest tomorrow morning.

farmer : it's impossible. If I had to kill another chicken for you, I wouldn't be able to offer you two eggs a day.

Food shop owner : Oh, don't be so nervous! The customer needs the chicken, I have promised the customer to give them tomorrow morning ...

farmer : No, absolutely not. If I did, I wouldn't be able to fulfill my agreement with you, you know? If I did, I wouldn't be able to provide you with enough eggs.

Food shop owner : But I really need chicken! Before tomorrow morning! Otherwise the customer will be furious, the earth will collapse, the end of the world will come! Give me a chicken, now!

farmer : Well, if you want to be so reckless, take it! But from now on, I can't provide you with eggs, okay?

Food shop owner : Of course, of course. But I believe it is a very intelligent person, I guess you can find a way to solve this problem. Good bye!

The grocer left back in the shop.

Day two:

Food store owner : Hey, where's the egg?

farmer : What do you mean?

Food shop owner : Egg. You only gave me an egg. What happened?

farmer : What's going on? I have 3 chickens, and you took two. There's only one left. A chicken, an egg. I think I have explained it very clearly.

Food store owner : But there's nothing in the contract! The contract is clear-you give me 2 eggs a day! What do you want me to say to my client now?

farmer : Oh, I understand the situation. There's nothing I can do.

Food shop owner : All right, all right, let's not talk about it. Let's talk about something else ... It would be nice if we could have some more chicken. Would you give me some more?

So do not learn the farmer-resolutely refuse the unreasonable demands of destroying your codebase for the current benefit, and if you are forced to do so, refuse to undertake such a task-and do not be a grocer-don't make such unreasonable demands that you have to bear the consequences for your own decisions.

Technical debt (hen's encounter)

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.