Today's Question:  What's your opinion about Alibaba mooncake incident?        GIVE A SHOUT

Technical Article => Career =>  Career

To our youth

  sonic0002      2013-05-02 05:26:56      1,707    0    1

Youth is the best period in our life for most of us. We have dreams, passions and energies. We can work day and night for our dreams.We can hang out with friends the whole day. But there will always be a day when we are not young anymore, our youth will pass by. We will not be able to go back to our youth any more. Do you have anything to say about your youth? Recently, a Chinese IT engineer @本座 wrote a short code snippet to describe our youth. Here we share what she writes:

public void toOurYouth() throws Exception{
    do{
        experience=yourYouth.prepareStatement("INSERT INTO your_memory VALUES(?,?,?)");
        experience.executeUpdate();
        yourYouth.commit();
    }while(yourYouth.isWonderful() || yourYouth.isRegretful());
    
    try{
        yourYouth.rollback();
        throw new RollbackException();
    }catch(RollbackException e){
        System.our.println("youth can't go back again anymore.");
    }finally{
        yourYouth.close();
    }
}

We will say goodbye to our youth finally, we cannot rollback our youth. What we can do is save those memories no matter they are wonderful or regretful. To our youth!

PROGRAMMING YOUTH ROLLBACK

  SAVE AS PDF   MARK AS READ   MARK AS IMPORTANT

  RELATED


  0 COMMENT


No comment for this article.


  WRITE ARTICLE

IKEA Bookbook

By sonic0002
IKEA 2015 Catalogue bookbook. Download a free copy or upload yourself to IKEA. Give you an advice, IKEA, be careful of the DOS attack. If you are in mainland China, please watch the video IKEA Bookbook. To be honest. A very creative design.It gets over 10 million visits in less than 15 days.