Stop null check overload in your code! In this course, C# Design Patterns: Null Object, you will gain the ability to apply a new way of managing null references in your team's codebase. First, you will learn about the source of nulls and how they came to be. Next, you will discover how most people code in defense of nulls, adding hundreds of lines of code inside significant codebases. Finally, you will explore how to use the Null Object pattern to stop these practices and depend on each object you receive by bringing non-null. When you’re finished with this course, you will have the skills and knowledge of null scenarios needed to apply the Null Object pattern.
David Starr is a Principal Azure Solutions Architect for Microsoft and has worked in technology leadership positions for over 20 years. He specializes in agile software development practices, patterns and practices, and judicious application of various technologies within development teams. He is a 5 time Microsoft MVP in Visual Studio and a technical instructor with Pluralsight where he focuses on the software development practices and developer tooling curricula. David blogs at ElegantCode.com, is a frequent contributor at conferences and a frequent writer. He has successfully led many product development teams and is a technical learning professional.
Course Overview Hi everyone. My name is David Starr, and welcome to my course, C# Design Patterns: The Null Object, one in a series of patterns courses. Why would you want to learn this pattern? Well, because with this pattern, you can stop writing null checks. That's right, you heard me. Right far fewer null checks and do so safely. I'm a Principal Cloud Architect at Microsoft and have been a strong and consistent supporter of using design patterns where they make sense. I've been teaching design patterns at various levels for several years. You can find me on Twitter @ElegantCoder. This course is going to teach you the Null Object design pattern, when to use it, and how to do so appropriately. Some of the major topics we'll cover include the origins of null. Null checks are often all over our code base. Writing null checks is now a habit with full IDE support. And finally, we'll see how to eliminate the need for null checks using this pattern. By the end of this course, you'll have seen the Null Object in practice. And before the course, you should be familiar with basic C# or some other object‑oriented language. From here, you should feel comfortable diving in to other C# Design Pattern courses. And I hope you'll join me on this journey to learn the Null Object design pattern with the C# Patterns course, at Pluralsight.