摘要: static bool m1(int i) { if (i > 1) { return true; } else { return false; } }类似上述代码非常不易于阅读 且不易于表意static bool m2(int i){bool result;if (i > 1){result = true;}else{result = false;}return result;}尽量... 阅读全文
posted @ 2009-05-11 13:44 段启锋 阅读(534) 评论(16) 推荐(0) 编辑