Clean Code with C# - Second Edition: Refactor your legacy C# code base and improve application performance using best practices
暫譯: C# 清潔代碼 - 第二版:重構你的舊有 C# 代碼庫,並使用最佳實踐提升應用程式性能
Alls, Jason
- 出版商: Packt Publishing
- 出版日期: 2023-12-22
- 售價: $1,900
- 貴賓價: 9.5 折 $1,805
- 語言: 英文
- 頁數: 492
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1837635196
- ISBN-13: 9781837635191
-
相關分類:
C#
海外代購書籍(需單獨結帳)
商品描述
Enhance your programming skills through code reviews, TDD and BDD implementation, and API design to overcome code inefficiency, redundancy, and other issues arising from bad code
Key Features:
- Write code that seamlessly integrates with other systems while maintaining well-defined software boundaries
- Understand how coding principles and standards elevate software quality
- Learn how to avoid common errors while implementing concurrency or threading
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
Traditionally associated with Windows desktop applications and game development, C# has expanded into web, cloud, and mobile development. However, despite its extensive coding features, professionals often encounter issues with efficiency, scalability, and maintainability due to poor code. Clean Code in C# guides you in identifying and resolving these problems using coding best practices.
This book starts by comparing good and bad code to emphasize the importance of coding standards, principles, and methodologies. It then covers code reviews, unit testing, and test-driven development, and addresses cross-cutting concerns. As you advance through the chapters, you'll discover programming best practices for objects, data structures, exception handling, and other aspects of writing C# computer programs. You'll also explore API design and code quality enhancement tools, while studying examples of poor coding practices to understand what to avoid.
By the end of this clean code book, you'll have the developed the skills needed to apply industry-approved coding practices to write clean, readable, extendable, and maintainable C# code.
What You Will Learn:
- Master the art of writing evolvable and adaptable code
- Implement the fail-pass-refactor methodology using a sample C# console application
- Develop custom C# exceptions that provide meaningful information
- Identify low-quality C# code in need of refactoring
- Improve code performance using profiling and refactoring tools
- Create efficient and bug-free code using functional programming techniques
- Write cross-platform code using MAUI
- Develop cloud-deployable microservices for versatile applications
Who this book is for:
This coding book is for proficient C# developers, team leads, senior software engineers, and software architects who want to improve the efficiency of their legacy systems. A strong understanding of C# programming is assumed.
商品描述(中文翻譯)
透過程式碼審查、測試驅動開發 (TDD) 和行為驅動開發 (BDD) 實作以及 API 設計來提升您的程式設計技能,以克服由於不良程式碼而產生的程式碼低效、冗餘及其他問題
主要特色:
- 撰寫與其他系統無縫整合的程式碼,同時保持明確定義的軟體邊界
- 了解程式設計原則和標準如何提升軟體品質
- 學習在實作併發或執行緒時如何避免常見錯誤
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
書籍描述:
C# 傳統上與 Windows 桌面應用程式和遊戲開發相關,但已擴展至網頁、雲端和行動開發。然而,儘管其擁有廣泛的程式碼功能,專業人士仍常因不良程式碼而遇到效率、可擴展性和可維護性等問題。《C# 中的乾淨程式碼》指導您識別並解決這些問題,使用最佳程式設計實踐。
本書首先通過比較良好與不良程式碼來強調程式設計標準、原則和方法論的重要性。接著涵蓋程式碼審查、單元測試和測試驅動開發,並處理橫切關注點。隨著您逐步深入各章節,您將發現有關物件、資料結構、例外處理及其他撰寫 C# 電腦程式的最佳程式設計實踐。您還將探索 API 設計和程式碼品質提升工具,同時研究不良程式設計實踐的範例,以了解應避免的事項。
在這本乾淨程式碼書籍結束時,您將具備應用業界認可的程式設計實踐來撰寫乾淨、可讀、可擴展和可維護的 C# 程式碼所需的技能。
您將學到的內容:
- 掌握撰寫可演變和可適應程式碼的藝術
- 使用範例 C# 控制台應用程式實作失敗-通過-重構方法論
- 開發提供有意義資訊的自訂 C# 例外
- 識別需要重構的低品質 C# 程式碼
- 使用性能分析和重構工具改善程式碼性能
- 使用函數式程式設計技術撰寫高效且無錯誤的程式碼
- 使用 MAUI 撰寫跨平台程式碼
- 開發可雲端部署的微服務以應對多樣化應用
本書適合誰:
這本程式設計書適合熟練的 C# 開發人員、團隊負責人、高級軟體工程師和軟體架構師,旨在提升其舊系統的效率。假設讀者對 C# 程式設計有良好的理解。