Live Coding Session: Replace Conditional With Null Object

The Weekly Iteration

This video is a preview. Want to see the full-length video right now for free?

Video

Notes

Ben and Joe do a little live coding, demonstrating how to extract a Null Object from an existing class in order to encapsulate conditional logic related to nothingness. If you'd like to play along, we have two exercises for practicing Null objects: part one and part two.

×

15 Full Courses, 100+ Screencasts & New Content Weekly