, 6 tweets, 4 min read
My Authors
Read all threads
Finally finished converting a 220k LOC codebase at work to ZIO. It was a ton of work but totally worth it in my opinion. I learned a lot in the process too. Thanks for the awesome library @jdegoes and all the #zio contributors. @adamfraser too for being so helpful on Discord.
@jdegoes @adamfraser Technically you can introduce ZIO gradually into your project, and I have done that successfully before, but I went all-in because I wanted to leverage all of ZIO's capabilities in the project and not just in certain "islands" of code. Removing some 2.12 deps was a plus too.
@jdegoes @adamfraser Some immediate benefits were: async stack traces (much nicer coming from Future). Plus no more ExecutionContext everywhere. This migration exposed some operations that were running on unintended ExecutionContexts.
@jdegoes @adamfraser And maybe the biggest thing for me is principled error handling reflected in the types. This is big. Now I have confidence about which errors I've already handled, and which I haven't. ZIO exposed a lot of cases which weren't explicitly being considered.
@jdegoes @adamfraser Upcoming tasks:
- Migrate to ZIO test
- Replace remaining usages of Akka
- Increase parallelism where it makes sense: sequencePar, sequenceParN, etc.
- Try to replace Play bootstrap + stop hooks with ZManaged
@jdegoes @adamfraser Oh, and also IntelliJ doesn't hate me anymore. 😅 (monad transformer type inference issues)
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with reibitto

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!