Building Maintainable Software, C# Edition

iebukes 电子书 665 次浏览 , 没有评论

Book Description:

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

免积分下载地址:Building Maintainable Software, C# Edition

 
 “你有一个苹果,我有一个苹果,彼此交换一下,我们彼此仍然是各有一个苹果;你有一本电子书,我有一本电子书,我们交换一下,一人就有两本电子书”,扫描下面二维码,加入iebukes电子书分享群,和大家一起分享你手中的电子书吧!本站分享的电子书访问密码见群公告,赶快入群吧!  
                微信公众号二维码