Building Maintainable Software, Java Edition: Ten Guidelines for Future-Proof Code (Paperback)
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 -
$420$332 -
$500$395 -
$1,646Operating System Concepts, 9/e (IE-Paperback)
-
$380$300 -
$890$801 -
$720$562 -
$440$348 -
$680$537 -
$360$306 -
$360$284 -
$520$442 -
$480$379 -
$480$379 -
$680$537 -
$509領域驅動設計 : 軟件核心複雜性應對之道
-
$580$452 -
$650$553 -
$380$300 -
$980$774 -
$301軟件設計重構
-
$490$417 -
$580$458 -
$360$281 -
$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軟體。這些指南是從分析數百個真實系統中獲得的。
本書由軟體改進小組(SIG)的顧問撰寫,提供清晰簡明的解釋,並提供將指南轉化為實踐的建議。本版本的示例是用Java編寫的,而我們的C#書籍則提供了該語言的可行示例。
- 編寫短小的程式碼單元:限制方法和建構函式的長度
- 編寫簡單的程式碼單元:限制每個方法的分支點數量
- 避免複製有錯誤的程式碼,而是編寫一次
- 通過將參數提取到物件中,使單元介面保持小巧
- 分離關注點,避免構建大型類別
- 鬆散耦合架構組件
- 在程式碼中平衡頂層組件的數量和大小
- 保持程式碼庫尺寸盡可能小
- 自動化程式碼庫的測試
- 編寫乾淨的程式碼,避免顯示更深層次問題的「程式碼異味」