Expanded Library
Tactical Design Patterns in .NET: Control Flow
Improve your skills in writing simpler and safer code by applying coding practices and design patterns that are affecting control flow.
What you'll learn
Do you have to think about null references in every line of code? Do you have to think about boundary conditions in every loop? Do you have to stop and think at every branching instruction? The way we code is a matter of choice. This course demonstrates choices which help reduce code complexity and make code easier to write and easier to understand.
Table of contents
Understanding Control Flow
37mins
Coping with Null References
28mins
Null Object and Special Case Patterns
37mins
Map-reduce Pattern in Domain Logic
33mins
Iterator Pattern and Sequences
31mins
Option Functional Type
38mins
Service Locator vs. Object-oriented Code
42mins
Guard Clause and If-Then-Throw Pattern
37mins