Matt Massicotte on Nostr: The other day I mentioned that protocols have a drawback around isolation ...
The other day I mentioned that protocols have a drawback around isolation requirements that functions can avoid. I took a moment to write up an example:
https://github.com/mattmassicotte/ConcurrencyRecipes/blob/main/Recipes/Protocols.md#solution-4-dont-use-a-protocol
https://github.com/mattmassicotte/ConcurrencyRecipes/blob/main/Recipes/Protocols.md#solution-4-dont-use-a-protocol