技术宅,fat-man

增加语言的了解程度可以避免写出愚蠢的代码

导航

2014年2月18日 #

代码的轻重

摘要: void test(){ if(a) { if(b) { do(); } }}void test(){ if(a && b) { do(); }}void test(){ if(a && b && c) { do(); }}void test(){ if(!a) return; if(!b) return; if(!c) return; do();}void test(){ if... 阅读全文

posted @ 2014-02-18 20:41 codestyle 阅读(331) 评论(0) 推荐(0)