Martin Fowler is Chief Scientist at ThoughtWorks. He describes himself as “an author, speaker, consultant and general loud-mouth on software development.” Fowler concentrates on designing enterprise software: exploring what makes a good design and what practices are needed to create one.
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.
Features
The first update to a classic that is the standard reference for refactoring in over 15 years
Enhanced, web-based features including interactive examples, video snippets, code highlighting
Extensive use of JavaScript examples
New to This Edition
Martin Fowler is retaining everything that made Refactoring one of the world’s most popular and influential computer books, while updating with JavaScript examples throughout (to address many programmers’ current preferences) and reflecting today’s programming paradigms. The book’s catalog of individual refactorings has been updated, revised, and expanded.
發表於2024-11-22
Refactoring 2024 pdf epub mobi 電子書 下載
第一遍於兩年前, 讓我瞭解到bad smell們, 還有那冗長的手法catalog. 最近第二遍, 迴顧過去, 雖然bad smell的提示和重構操作已經完全融入現代IDE中瞭, 但總結下來它對我的影響還有如下: 1.我常常通過重構來加深對代碼的理解. 2.讓我變成一個十足的代碼潔癖者, "刻"代碼上癮...
評分重構是個好的思想,第一次讀此書是在大學裏,張忠強介紹給我。後來在大學做項目的時候,每每遇到睏難難以進行的時候,我就開始重構我的代碼。現在到瞭公司,以C語言為主要開發語言,我同樣在運用著重構的思想在工作,這次添加新功能完全是一邊重構一邊完成下來的。重構在我看來...
評分第一次看有網友極力推薦這本書,就買瞭一本英文的來看,一下子就被吸引住瞭。 原來覺得編碼可以天馬行空,總想看看那些高手是怎麼寫代碼的,現在覺得自己好像也是高手瞭,至少可以看得齣哪些代碼好,哪些代碼差。真是感謝Martin Flower。 現在自己做項目經理瞭,對於新來的有一...
評分2009年,在為《重構》第一版的中譯本再版整理譯稿時,我已經隱約察覺行業中對“重構”這個概念的矛盾張力。一方麵,在這個“VUCA”(易變、不確定、復雜、模糊)橫行的年代,有能力調整係統的內部結構,使其更具長期生命力,這是一個令人神往的期許。另一方麵,重構的紮實工夫...
評分《重構》這本書我覺得沒什麼意思。這本書有個矛盾點:對有豐富經驗的程序員來說,這本書上麵所提到的所謂手法已經是他們日常編程中已經熟練使用的,這本書隻是給這些手法命瞭個名而已,看這本書毫無意義。而對於新手程序員來說,因為你沒有一定的代碼量,應該是看不懂書上說的...
圖書標籤: refactor Programming 程序設計 計算機 JavaScript 重構 2nd 軟件工程
雖然例子是用JS寫的,思想都是通的。前幾章看完幫助非常大,很多平時寫代碼時候會糾結的地方從這裏可以找到答案。講的原則可操作性非常強,很多思想可以直接影響現在的工作方式。具體每個重構技巧比較繁雜,沒仔細看完,可以有需要再拿齣來翻。印象深刻的幾個點:“不要專門和老闆說我要重構,而是作為功能的一部分”,“保持修改後的代碼比現在的代碼好”,“大部分情況:可讀性>性能”,“profiling找性能瓶頸,直覺大部分情況是錯的”解決。
評分學習瞭JavaScript的一些新語法。
評分第二版有瞭不少改進,比如代碼換成瞭js(用的是最新的ES語法),重構都配瞭示意圖。收獲非常大。
評分第二版有瞭不少改進,比如代碼換成瞭js(用的是最新的ES語法),重構都配瞭示意圖。收獲非常大。
評分第二版有瞭不少改進,比如代碼換成瞭js(用的是最新的ES語法),重構都配瞭示意圖。收獲非常大。
Refactoring 2024 pdf epub mobi 電子書 下載