7.2 Decoupling concurrency and business logic - Live coding a URL checker in Crystal
Channel: Lorenzo Barasti
Date: 2019-12-18

To make testing concurrent software easier and more self-contained, it makes sense to split the concurrency-related aspects of it from the actual business logic of the application.
In this session, we refactor one of our tasks to extract the "concurrency infrastructure" bit into a standalone method, so that we can unit test the concurrency and business logic in isolation.

You can find the code we wrote during the session here:
https://github.com/lbarasti/twitch-url-checker

Live streamed on Twitch on 8 Dec 2019: https://www.twitch.tv/lbarasti
Announcing live-coding sessions and initiatives @ https://twitter.com/lbarasti