I’m livecoding weekly on Twitch with Ted M. Young, aka @jitterted. We’re looking at Nullables and A-Frame Architecture as an alternative to Mocks, Spies, and Hexagonal Architecture. For schedule, source code, and other details, see https://www.jamesshore.com/v2/projects/nullables-livestream.
In this episode, we look at how to make the HttpScoreCategoryNotifier class nullable. This adapter stores data to a separate “Yacht Tracker” service. We demonstrate how to make the adapter expose its state by creating a reusable OutputTracker class, then demonstrate how easy making an adapter Nullable can be.