(转)代码的21种“坏味道”
(整理)踏入C++中的雷区——C++内存管理小结

(引)重构学习资料

孔令春 posted @ 2010年1月27日 21:37 in 内功修行 with tags 重构实例 , 3429 阅读

引自:http://www.cnblogs.com/xiaosuo/archive/2009/12/26/1632141.html

        最近在看Matrin Fowler的著作《重构——改善既有代码的设计》。刚开始阅读的时候总感觉书中所列的许多重构方法过于平淡,重构步骤也过于琐屑,这些我们平常也经常会 做到,习惯大气挥洒的动作,何必以近乎枯燥的过程小步前进?然而,渐渐我才体会,正是这样的小步与缓步,不过激,不躁进,再加上完整的测试配套,才是不带 来bug的最佳保障。

  从今天开始我打算在园子里每天记录一个重构方法,以及该重构方法的运用场景,代码大部分来自《重构》和《代码大全》,并结合自己的想法用C#实 现一些实例。

一天 一个重构方法:总述

Avatar_small
Kar Board Model Pape 说:
2022年9月21日 02:29

KSEEB Model Paper 2023 Class 1 Pdf Download with Answers for Kannada Medium, English Medium, Hindi Medium, Urdu Medium & Students for Small Answers, Long Answer, Very Long Answer Questions, and Essay Type Questions to Term1 & Term2 Exams at official website. Kar Board Model Paper Class 1 New Exam Scheme or Question Pattern for Sammittive Assignment Exams (SA1 & SA2): Very Long Answer (VLA), Long Answer (LA), Small Answer (SA), Very Small Answer (VSA), Single Answer, Multiple Choice and etc.

Avatar_small
boardmodelpaper.com 说:
2024年1月07日 05:42

Board Model Papers 2024 Download with Suggestions for 10th Class Textbooks 2024 Pdf Download and SSLC New Syllabus Sample Question Paper 2024 and different types of model papers boardmodelpaper.com and question papers for following the website and Arts, Science, Commerce Stream Subject Wise Solved Question Bank for Hindi & English Medium Students with Exam Pattern & Blueprint and subject Wise with 11th & 12th Question Bank 2024 for General & Vocational Course Languages & Subjects Important Question for the above link.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter