Building Maintainable Software, C# Edition: Ten Guidelines for Future-Proof Code (Paperback)

Building Maintainable Software, C# Edition: Ten Guidelines for Future-Proof Code (Paperback)

作者: Joost Visser Sylvan Rigal Gijs Wijnholds Pascal van Eck Rob van der Leek
出版社: O'Reilly
出版在: 2016-06-23
ISBN-13: 9781491954522
ISBN-10: 1491954523
裝訂格式: Paperback
總頁數: 172 頁





內容描述


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 C# 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 C#, while our companion Java book provides clear 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




相關書籍

Starting out with Visual C#, 4/e (IE-Paperback)

作者 Tony Gaddis

2016-06-23

電腦軟體設計丙級技能檢定學術科 (適用Visual Basic)|2020版

作者 吳進北.林文恭研究室

2016-06-23

Head First C#: A Learner's Guide to Real-World Programming with C#, Xaml, and .Net 4/e (dhl)

作者 Andrew Stellman Jennifer Greene

2016-06-23