2024香港最具教育競爭力中學/小學/幼稚園50強龍虎榜
2024香港最具教育競爭力中學/小學/幼稚園排名指南
最近十一年香港最具教育競爭力中學/小學/幼稚園50強完整版榜單:
2024202320222021/202019201820172016201520142013
教育競爭力評比體系說明
校風評比體系說明
服务全球华人的中英文書籍網上書店
您的購物車是空的

重構:改善既有代碼的設計(評註版)

  • 作者:(美)Martin Fowler 等 著
  • 出版社: 電子工業出版社
  • 出版時間:2011-06-01
  • 版次:1
  • 商品編號: 10695730

    頁數:425

    ISBN:9787121134500

    印刷時間:2011-06-01


HK$98.80 (速遞費用須知)
購買額滿HK$158免運費
免郵費優惠僅限香港、澳门、
台灣及中國大陸

購買數量:

內容簡介

        重構,一言以蔽之,就是在不改變外部行為的前提下,有條不紊地改善代碼。多年前,正是本書原版的出版,使重構終於從編程高手們的小圈子走出,成為眾多普通程序員日常開發工作中不可或缺的一部分。《重構:改善既有代碼的設計(評註版)》也因此成為與《設計模式》齊名的經典著作,被譯為中、德、俄、日等眾多語言,在世界範圍內暢銷不衰。
  Martin Fowler等著的《重構:改善既有代碼的設計(評註版)》凝聚了軟件開發社區專家多年摸索而獲得的寶貴經驗,擁有不因時光流逝而磨滅的價值。今天,無論是重構本身,業界對重構的理解,還是開發工具對重構的支持力度,都與本書最初出版時不可同日而語,但書中所蘊涵的意味和精華,依然值得反覆咀嚼,而且往往能夠常讀常新。
  《重構:改善既有代碼的設計(評註版)》力邀國內資深專家執筆,在英文原著基礎上增加中文點評與註釋,旨在以先行者的學研心得與實踐感悟,對讀者閱讀與學習加以點撥、指明捷徑。

目錄

chapter 1 refactoring, a first example(新增批註共21條) 
the starting point 
the first step in refactoring 
decomposing and redistributing the statement method 
replacing the conditional logic on price code with polymorphism 
final thoughts 
chapter 2 principles in refactoring(新增批註共11條) 
defining refactoring 
why should you refactor? 
when should you refactor? 
what do i tell my manager? 
problems with refactoring 
refactoring and design 
refactoring and performance 
where did refactoring come from? 
chapter 3 bad smells in code (by kent beck and martin fowler)
(新增批註共17條) 
duplicated code 
long method 
large class 
.long parameter list 
divergent change 
shotgun surgery 
feature envy 
data clumps 
primitive obsession 
switch statements 
parallel inheritance hierarchies 
lazy class 
speculative generality 
temporary field 
message chains 
middle man 
inappropriate intimacy 
alternative classes with different interfaces 
incomplete library class 
data class 
refused bequest 
comments 
chapter 4 building tests(新增批註共2條) 
the value of self.testing code 
the junit testing framework 
adding more tests 
chapter 5 toward a catalog of refactorings
(新增批註共1條) 
format of the refactorings 
finding references 
how mature are these refactorings? 
chapter 6 composing methods(新增批註共9條) 
extract method 
....


我們接受以下的付款方式︰VISA、Mastercard、JCB 信用卡、PayPal、銀行轉帳。