Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now
Lessons:25Length:4.2 hours

2.5 Null Object Pattern

Do you still have those if statements, checking for null, and, if not, calling a method on an object? Get rid of them by leveraging the Null Object Pattern.