Building Maintainable Software, Java Edition: Ten Guidelines for Future-Proof Code (Paperback)
暫譯: 構建可維護的軟體:Java 版未來可持續代碼的十項指導原則 (平裝本)
Joost Visser, Sylvan Rigal, Rob van der Leek, Pascal van Eck, Gijs Wijnholds
- 出版商: O'Reilly
- 出版日期: 2016-03-15
- 定價: $898
- 售價: 9.0 折 $808
- 語言: 英文
- 頁數: 168
- 裝訂: Paperback
- ISBN: 1491953527
- ISBN-13: 9781491953525
-
相關分類:
Java 程式語言
-
相關翻譯:
打造可維護軟體|編寫可維護程式碼的10項法則 (Java版) (Building Maintainable Software, Java Edition: Ten Guidelines for Future-Proof Code) (繁中版)
代碼不朽:編寫可維護軟件的 10大要則 (Java版) (簡中版)
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
程式設計師的自我修養-連結、載入、程式庫$580$493 -
學徒模式-優秀軟體開發者的養成之路 (Apprenticeship Patterns: Guidance for the Aspiring Software Craftsman)$420$332 -
JavaScript 程式設計與應用(修訂第二版)$500$395 -
Operating System Concepts, 9/e (IE-Paperback)$1,680$1,646 -
Joomla! 素人架站計畫 Power Pack-給 Joomla! 網站更強大的力量!$380$300 -
機器人科技$890$801 -
深入理解 Android 核心設計思想-核心解構篇$720$562 -
Swift 程式設計實戰--121 個快速上手的開發技巧$440$348 -
機器學習駭客秘笈 (Machine Learning for Hackers)$680$537 -
Google 輕鬆玩,漫步在雲端-全新 +PLUS 版$360$284 -
完整學會 Git, GitHub, Git Server 的24堂課$360$284 -
最新 HTML5 + CSS3 網頁程式設計, 2/e$520$442 -
Android 初學特訓班|最新 Android Studio 開發實戰, 6/e$480$379 -
WordPress 架站的 12堂課|網域申請x架設x佈景主題x廣告申請$480$379 -
CSS: The Missing Manual, 4/e (國際中文版)$680$537 -
$473領域驅動設計 : 軟件核心複雜性應對之道 -
Python 機器學習 (Python Machine Learning)$580$452 -
Entity Framework 實務精要$650$553 -
駭客的修練|使用IDA Pro進行底層分析$380$300 -
Hadoop 技術手冊, 4/e (Hadoop: The Definitive Guide, 4/e)$980$774 -
$354軟件設計重構 -
Python 程式設計:從入門到進階應用$490$387 -
網站擷取|使用 Python (Web Scraping with Python: Collecting Data from the Modern Web)$580$458 -
用 Drupal 輕鬆架出商業網站 : 網路商店╳報名平台╳預約系統╳拍賣平台$360$281 -
PHP7 & MySQL 跨裝置網站開發 - 超威範例集, 2/e (附範例與資料庫光碟)$560$442
商品描述
Have you ever felt frustrated working with someone else’s code? Difficult-to-maintain source code is a big problem in software development today, leading to costly delays and defects. Be part of the solution. With this practical book, you’ll learn 10 easy-to-follow guidelines for delivering Java software that’s easy to maintain and adapt. These guidelines have been derived from analyzing hundreds of real-world systems.
Written by consultants from the Software Improvement Group (SIG), this book provides clear and concise explanations, with advice for turning the guidelines into practice. Examples for this edition are written in Java, while our companion C# book provides workable examples in that language.
- Write short units of code: limit the length of methods and constructors
- Write simple units of code: limit the number of branch points per method
- Write code once, rather than risk copying buggy code
- Keep unit interfaces small by extracting parameters into objects
- Separate concerns to avoid building large classes
- Couple architecture components loosely
- Balance the number and size of top-level components in your code
- Keep your codebase as small as possible
- Automate tests for your codebase
- Write clean code, avoiding "code smells" that indicate deeper problems
商品描述(中文翻譯)
有沒有曾經因為與他人的程式碼合作而感到沮喪?難以維護的原始碼在當今軟體開發中是一個大問題,導致昂貴的延遲和缺陷。成為解決方案的一部分。透過這本實用的書籍,您將學習到10個易於遵循的指導方針,以交付易於維護和適應的Java軟體。這些指導方針是從分析數百個真實系統中得出的。
本書由軟體改進小組(Software Improvement Group, SIG)的顧問撰寫,提供清晰且簡明的解釋,並提供將指導方針付諸實踐的建議。本版的範例使用Java撰寫,而我們的C#伴隨書籍則提供該語言的可行範例。
- 撰寫短小的程式碼單元:限制方法和建構子的長度
- 撰寫簡單的程式碼單元:限制每個方法的分支點數量
- 只撰寫一次程式碼,避免複製有缺陷的程式碼
- 透過將參數提取到物件中來保持單元介面的簡潔
- 分離關注點以避免建立大型類別
- 寬鬆耦合架構元件
- 平衡程式碼中頂層元件的數量和大小
- 盡可能保持程式碼庫的小型化
- 自動化測試您的程式碼庫
- 撰寫乾淨的程式碼,避免出現顯示更深層問題的「程式碼異味」
