Writing modular applications is without doubt very important in software engineering. Being able to split a problem into smaller parts and put them back together to build large applications is an essential concept. It allows us to build software no matter the complexity involved. And composability has been one of the core principles of ZIO from the very beginning. So, for getting a grasp on how ZIO is great for modularity, this document will be about writing a Tic-Tac-Toe application using the ZLayer data type.
Here is what you will learn:
How to organize ZIO tests and mocks around ZLayers