Life Essay: A universal class for coaxing a girlfriend to be happy (Java)

Source: Internet
Author: User

Last week, I had a quarrel with my girlfriend, and I walked away in a hurry, who had no temper. Thought the couple noisy, soon will and good. I didn't think I'd give her a call. She has been cold and love to answer, that feeling makes me feel more uncomfortable than slapping me. What's going on here? As usual, this is a good time to be reconciled? How does the same operation end differently? I didn't change it? Like sometimes the program out of a bug, I thought "obviously did not change what, how output is not the same?" "Debugging and debugging will find that there are often some details on my mistakes. Maybe this time, too. So I began to reflect on the whole process:
//Baby I was wrong, you have to calm down. Don't punish yourself for my mistakes.Class pleasedontbeannoyed{PrivatePerson troublemaker;PrivatePerson Annoyedone;Private BooleanAnnoyedoneishappy; Public pleasedontbeannoyed(BooleanIshappy,person Me,person She) { This. annoyedoneishappy = Ishappy;//Initial value is False         This. Troublemaker = Me; This. Annoyedone = She; }//Get angry cause, can't find the reason is collectively: even breathing is my fault!     PrivateStringGetReason(){returnTroublemaker.quarrelwith (Annoyedone)?    TroubleMaker.badTemper:troubleMake.allIsMyFault; }//Returns True when forgiven, otherwise false    Private Boolean hasforgived(){returnAnnoyedone.forgive (troublemaker); }//sincere apology, sometimes the whole surprise gift to express apologies, to make her happy    Private void Apologize(String reason) {troublemaker.apologize (reason);if(hasforgived) This. Annoyedoneishappy =true; }//Problem Solving    Private void problemsolved(){ while(!annoyedoneishappy) Apologize ( This. GetReason ());    Celebrate (); }}
In the past, such operations can be effective, this time the card in the problemsolved while loop is not moving, it may be getreason return value problem? It's all my fault, not the almighty answer? How to think about how to think, how can not find the bug where, alas, the heart is very tired. Since the traditional scheme does not work well, it is more shameless to ask her old man what's the matter. The first few times or love to answer, it's okay, I have a thick skin, as long as you tell me where the problem I should be OK. The result in my stalker lay she finally uttered the reason:
    • I used to her how good ah, reluctant to scold reluctant to quarrel, she was angry will also hurriedly coax.

    • Now, all dared to quarrel, the quarrel was not to apologize at that time, so that she was born so long gas.

    • She recently saw a variety show "love defense", there is a couple is a beginning male love, and then the male gradually unwilling to become a loving pay more that side, always quarrel and do not apologize, finally led to the woman can not stand to break up, the man just regret.

    • More than three points she decided to cool me more, give me some lessons.

Oh my God, behind so many reasons, I did not update the response measures, no wonder the problem can not be solved. I also realized that life, especially women, is not programming, it is impossible to build good one class can easily expand, reuse, because many times you do not know what needs to expand what function. In the programming or to communicate with her more, not too rigid is ah.

Life Essay: A universal class for coaxing a girlfriend to be happy (Java)

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.