- Clean Code in C#
- Jason Alls
- 140字
- 2021-06-18 18:28:12
Summary
In this chapter, you have seen how functional programming can improve the safety of your code by not modifying the state, which can give rise to bugs, especially in multithreaded applications. By keeping methods small with meaningful names and no more than two parameters, you have seen how much cleaner your code is and easier to read. You have also seen how we can remove duplication in our code and the benefits of doing so. Code that is easy to read is easier to maintain and extend than code that is hard to read and decipher!
We will now move on and look at the topic of exception handling. In the next chapter, you will learn how to use exception handling appropriately, write your own custom C# exceptions that provide meaningful information, and write code that avoids raising NullPointerExceptions.
- Visual Basic 6.0程序設計計算機組裝與維修
- 深入實踐Spring Boot
- 深入淺出WPF
- C語言程序設計教程(第2版)
- Web開發(fā)的貴族:ASP.NET 3.5+SQL Server 2008
- 基于Java技術(shù)的Web應用開發(fā)
- 數(shù)據(jù)結(jié)構(gòu)簡明教程(第2版)微課版
- Scratch真好玩:教小孩學編程
- Java EE核心技術(shù)與應用
- Visual Basic程序設計教程
- SQL Server實用教程(SQL Server 2008版)
- FPGA嵌入式項目開發(fā)實戰(zhàn)
- Kotlin極簡教程
- UML2面向?qū)ο蠓治雠c設計(第2版)
- RocketMQ實戰(zhàn)與原理解析