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
Coping with Null References
Null Object and Special Case Patterns
Map-reduce Pattern in Domain Logic
Iterator Pattern and Sequences
Option Functional Type
Service Locator vs. Object-oriented Code
Guard Clause and If-Then-Throw Pattern