Defensive Coding in C#
WEBRip | English | MP4 | 1024 x 768 | AVC ~371 kbps | 15 fps
AAC | 127 Kbps | 44.1 KHz | 2 channels | 4h 32mn | 848 MB
Genre: Video Tutorial
This course will show you how to write clean, maintainable, and testable code, and how to keep that code great using defensive coding techniques.
You will learn how to write clean, maintainable, and testable code when faced with constantly changing requirements, legacy issues, intensive time pressures, and a rapidly evolving environment. You will also learn how to keep that code great after maintenance activities, multiple developers, and the ravages of time.
Content:
01. Introduction 00:16:14
01. Introduction 00:41
02. What is Defensive Coding? 03:37
03. Clean Code 04:00
04. Testable Code and Unit Tests 03:09
05. Predictable Code 02:55
06. Topics 01:49
02. Defending Your Methods - Part 1 00:57:07
01. Introduction 02:10
02. Clean, Testable, and Predictable Methods 03:11
03. Example: Clean, Testable, and Predictable Methods 09:18
04. Demo: Creating a Class Library Component 10:28
05. Demo: Clean, Testable, and Predictable Methods 27:52
06. Demo: Named Arguments 02:08
07. Key Points 01:58
03. Defending Your Methods - Part 2 00:23:45
01. Introduction 01:31
02. Validating Method Parameters 02:53
03. Demo: Validating Method Parameters 13:03
04. Demo: Method Overloading 02:41
05. Key Points 03:35
04. Automated Code Testing 00:46:58
01. Introduction 06:21
02. I Don't Have Time to Test! 05:05
03. Code First vs. Test First 01:06
04. Defining Unit Test Cases 04:46
05. Creating Unit Tests 08:42
06. Using Test Explorer 04:41
07. Generating Unit Tests 03:46
08. Unit Tests and Exceptions 06:30
09. Dependencies 03:55
10. Summary 02:02
05. Defending Your Methods Part 3: Returning Predictable Results 00:32:36
01. Introduction 01:30
02. Method Results 07:53
03. Demo: Returning a Value 03:22
04. Demo: Returning Exceptions 01:21
05. Demo: Returning Multiple Values 12:28
06. Returning Null 03:21
07. Summary 02:37
06. Defending Your Code Constructs 00:32:29
01. Introduction 02:13
02. Local Variable Declarations 06:08
03. If Statements 05:35
04. Switch Statements 03:18
05. Enums 08:55
06. Casting 04:16
07. Summary 02:02
07. Asserts, Errors, and Exceptions 00:54:29
01. Introduction 02:28
02. Demo: Preparing the Sample Code 10:02
03. Asserts 04:27
04. Anticipated Errors 10:40
05. Unexpected Exceptions and a Global Exception Handler 06:04
06. Exception Handling 15:28
07. Summary 05:17
08. Final Words 00:09:07
01. Introduction 00:27
02. Legacy Code 05:10
03. For More Information 01:17
04. Summary 02:12
发布日期: 2016-11-28