短路求值 From http://www.ituring.com.cn/article/64610