1
00:00:04,810 --> 00:00:07,380
Hi everyone. My name is David Starr, and

2
00:00:07,380 --> 00:00:10,225
welcome to my course, C# Design Patterns:

3
00:00:10,225 --> 00:00:13,580
The Null Object, one in a series of

4
00:00:13,580 --> 00:00:16,340
patterns courses. Why would you want to

5
00:00:16,340 --> 00:00:18,620
learn this pattern? Well, because with

6
00:00:18,620 --> 00:00:20,640
this pattern, you can stop writing null

7
00:00:20,640 --> 00:00:23,240
checks. That's right, you heard me. Right

8
00:00:23,240 --> 00:00:27,690
far fewer null checks and do so safely.

9
00:00:27,690 --> 00:00:29,420
I'm a Principal Cloud Architect at

10
00:00:29,420 --> 00:00:31,420
Microsoft and have been a strong and

11
00:00:31,420 --> 00:00:33,350
consistent supporter of using design

12
00:00:33,350 --> 00:00:35,880
patterns where they make sense. I've been

13
00:00:35,880 --> 00:00:38,260
teaching design patterns at various levels

14
00:00:38,260 --> 00:00:40,770
for several years. You can find me on

15
00:00:40,770 --> 00:00:43,240
Twitter @ElegantCoder. This course is

16
00:00:43,240 --> 00:00:45,630
going to teach you the Null Object design

17
00:00:45,630 --> 00:00:48,230
pattern, when to use it, and how to do so

18
00:00:48,230 --> 00:00:50,910
appropriately. Some of the major topics

19
00:00:50,910 --> 00:00:52,715
we'll cover include the origins of null.

20
00:00:52,715 --> 00:00:56,240
Null checks are often all over our code

21
00:00:56,240 --> 00:00:59,090
base. Writing null checks is now a habit

22
00:00:59,090 --> 00:01:02,090
with full IDE support. And finally, we'll

23
00:01:02,090 --> 00:01:03,970
see how to eliminate the need for null

24
00:01:03,970 --> 00:01:06,890
checks using this pattern. By the end of

25
00:01:06,890 --> 00:01:08,800
this course, you'll have seen the Null

26
00:01:08,800 --> 00:01:11,820
Object in practice. And before the course,

27
00:01:11,820 --> 00:01:14,890
you should be familiar with basic C# or

28
00:01:14,890 --> 00:01:17,650
some other object‑oriented language. From

29
00:01:17,650 --> 00:01:19,500
here, you should feel comfortable diving

30
00:01:19,500 --> 00:01:22,850
in to other C# Design Pattern courses. And

31
00:01:22,850 --> 00:01:24,990
I hope you'll join me on this journey to

32
00:01:24,990 --> 00:01:35,000
learn the Null Object design pattern with the C# Patterns course, at Pluralsight.

