Refactoring to Patterns中譯本《重構與模式(修訂版)》部分勘誤提示

來源:互聯網
上載者:User

Refactoring to Patterns中譯本《重構與模式》部分勘誤提示

人民郵電出版社,《重構與模式(修訂版)》,2013年1月第1版,2013年1月北京第1次印刷。


第13頁,“2.8 演變出新的架構”之下第2段,“公用代碼應該從新的架構層中得到,...”
英文原文:Common code would be accessible from a new framework layer.
勘誤提示:be accessible from譯為“可被訪問”較好,而不是“從...中得到”。

參考譯文:“公用代碼可以通過新的架構層被訪問到。”


第30頁,“4.1 重複代碼”之下第2段,第2句,“如果不同子類中的方法除了對象建立不足之外...”

英文原文:If a method in the subclasses is implemented similarly, except for an object creation step, applying Introduce Polymorphic Creation
with Factory Method will pave the way for removing more duplication by means of a Template Method.

勘誤提示:應譯為“不同之外...”,而不是“不足之外...”

參考譯文:“如果不同子類中的方法除了對象建立不同之外...”


第32頁,“4.4 基本類型偏執”之下第1段,第2句,“但是,類可能需要是非常特定的,因為建立它們往往就是要用於特定的目的。”

英文原文:Classes, on the other
hand, may be as specific as you need them to be because you create them for specific purposes.

勘誤提示:譯文不大好理解。

參考譯文:”另一方面,類可能能夠根據你的需要做得盡量有特殊性,因為你是根據特殊的目的而建立類。“


第33頁,”4.6解決方案蔓延“之下第1句,”如果許多類中都有用來完成某些職責的代碼和/或資料,...“

英文原文:When code and/or data used to perform a responsibility becomes sprawled across numerous classes, Solution Sprawl is in the
air.

勘誤提示:應譯為”某一個“,而不是”某些“。

參考譯文:”如果許多類中都有用來完成某一個職責的代碼和/或資料,...“


第35頁,第2段,第1句,”...有一種優先方式與一組類通訊,...“

英文原文:The Oddball Solution smell is usually present when you have a preferred way to communicate with a set of classes, yet differences
in the interfaces of the classes prevent you from communicating with them in a consistent way.

勘誤提示:譯為”優先“不大自然。

參考譯文:”...當你有一種首選的方式與一組類通訊,...“


第46頁,倒數第4段,”(2)使用Loan執行個體的應用需要在不同種類的貸款之間進行轉換。“

英文原文:The
application that used Loan instances needed to transform
loans from one kind of loan to another. 

勘誤提示:感覺譯得不大確切。

參考譯文:”(2)使用Loan執行個體的應用需要將一種貸款類型轉換為另一種貸款類型。“


第47頁,第3段,”...下面是一個測試樣本中出現的...“

英文原文:Here is one such caller that resides in a test case:

勘誤提示:test case應譯為”測試案例“。

參考譯文:”...下面是一個測試案例中出現的...“


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.