Nullables Livestream #3: Fetcher Nullability
December 7, 2022
In this weekly livestream series, I pair up with Ted M. Young, aka jitterted, to look at Nullables and A-Frame Architecture as an alternative to Mocks, Spies, and Hexagonal Architecture. Each episode combines a healthy dose of architecture and design discussion with hands-on coding.
Watch us live every Monday! For details, see the event page. For more episode recordings, see the episode archive.
Nullables Training
Apr112023Learn how to apply these ideas to your own code! I’m offering live online training for this material on April 11th and 12th. Register here.
To be notified about upcoming “Testing Without Mocks” training courses, send an email with the subject “Subscribe” to nullables-training+
subscribe@ googlegroups. com or join the mailing list here (requires Google login). For private training, contact me directly.
In this episode...
We start our work on the HttpAverageScoreFetcher
and HttpScoreCategoryNotifier
classes. These adapters are part of Ted’s implementation of Hexagonal Architecture: they retrieve and store data from a separate “Yacht Tracker” service. We spend some time understanding how hexagonal architecture works, then make HttpAverageScoreFetcher
nullable. Along the way, we demonstrate the plusses—and minuses!—of using an embedded stub.
Visit the episode archive for more.