圖書標籤: 重構 refactoring Programming 軟件工程 編程 計算機 程序設計 經典
发表于2024-08-02
Refactoring pdf epub mobi txt 電子書 下載 2024
Refactoring is about improving the design of existing code. It is the process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. With refactoring you can even take a bad design and rework it into a good one. This book offers a thorough discussion of the principles of refactoring, including where to spot opportunities for refactoring, and how to set up the required tests. There is also a catalog of more than 40 proven refactorings with details as to when and why to use the refactoring, step by step instructions for implementing it, and an example illustrating how it works The book is written using Java as its principle language, but the ideas are applicable to any OO language.
補
評分能把這些規律提煉齣來確實很牛,可惜匆匆一讀,所得不多。
評分強調瞭重構的重要,但後麵的例子過於簡單,一般隻在接手垃圾代碼時纔會碰到,很難說明什麼。 復雜的重構每個項目裏麵都不一樣。作為文章還不錯,對於觀點的糾正和強調很好。齣一本書來賣就有點坑爹瞭
評分Only understand 40%.
評分重構不改變代碼的功能,測試非常重要,自動化重構工具非常有效。
这本书一开始读的是英文,不过Martin Fowler本身好像就不是一个Native的英语国家的人。所以他的英文写的也是比较容易懂的。 这个书第一章是一个完整的重构的例子,虽然现实中不可能如此完美而孜孜不倦的重构,不过作为一个例子,是非常的好的,让你能为重构的力量所震...
評分第一遍于两年前, 让我了解到bad smell们, 还有那冗长的手法catalog. 最近第二遍, 回顾过去, 虽然bad smell的提示和重构操作已经完全融入现代IDE中了, 但总结下来它对我的影响还有如下: 1.我常常通过重构来加深对代码的理解. 2.让我变成一个十足的代码洁癖者, "刻"代码上瘾...
評分第一次看有网友极力推荐这本书,就买了一本英文的来看,一下子就被吸引住了。 原来觉得编码可以天马行空,总想看看那些高手是怎么写代码的,现在觉得自己好像也是高手了,至少可以看得出哪些代码好,哪些代码差。真是感谢Martin Flower。 现在自己做项目经理了,对于新来的有一...
評分第一次看有网友极力推荐这本书,就买了一本英文的来看,一下子就被吸引住了。 原来觉得编码可以天马行空,总想看看那些高手是怎么写代码的,现在觉得自己好像也是高手了,至少可以看得出哪些代码好,哪些代码差。真是感谢Martin Flower。 现在自己做项目经理了,对于新来的有一...
評分组里最主要的Service已经运行了几年了,目前大约有40000行代码,不少部分缺乏Unit Tests。每次看代码的时候都有一种想重构的冲动。 不过什么时候才重构呢?经理那里是不好交差的——他们关心的是新功能的实现速度。有的时候重写反而(对程序员)的发展更好,因为工作量明显的...
Refactoring pdf epub mobi txt 電子書 下載 2024