摘要:
第一篇:转自http://pppboy.blog.163.com/blog/static/30203796201041014447359/ http://pppboy.blog.163.com/blog/static/302037962011112311822421/一、基本认识前置递增效率更高,后置式递增要拷贝一个临时对象。1 int b = i++; 2 //可以分解为一下过程: 3 int temp = i; 4 b = temp; 5 i = i + 1;n++要开辟一个变量来保存n的值并返回,然后让n这个变量中的值加 1。而++n直接把1加到n这个变量的空间中去,... 阅读全文
摘要:
转自:http://www.cnblogs.com/Smart_Joe/archive/2011/03/31/2001545.htmlhttp://timyang.net/programming/mythical-5/Bruce Eckel(Thinking in Java/C++作者) 在他的5%的神话(Mythical 5%) 中提到:5%的程序员开发效率是其他95%程序员的20倍(5% of programmers are 20x more productive than the other 95%)按照80-20法则,80%的程序员几乎不看书,不读Blog,不参加技术会议,不持续学习。 阅读全文