Tag: Coroutines

How does Kotlin Coroutines handle structured concurrency?

We’ll dive into the world of Kotlin coroutines and explore how they handle structured concurrency. Don’t worry if you’re not a technical person; I’ll make sure to explain everything clearly and give real-life examples to make it easier to understand. Let say you’re a...

Exceptions in coroutines

We, developers, usually spend a lot of time polishing the happy path of our app. However, it’s equally important to provide a proper user experience whenever things don’t go as expected. On one hand, seeing an application crash is a bad experience for the user; on the other hand, showing...

Coroutines: First things first

This series of blog posts goes in-depth into cancellation and exceptions in Coroutines. Cancellation is important for avoiding doing more work than needed which can waste memory and battery life; proper exception handling is key to a great user experience. As the foundation for the other 2 parts of ...

5 Things to Stop When You Wake Up in the Morning

  I want to take it a little bit differently today and focus on what you should and focus on what you should stop doing in your morning routine. I’m going to break down five different things that you should stop doing when you wake up in the morning if you’re doing them. Ch...

The Silent Killer That’s Crashing Your Coroutines

Today the production servers stopped responding to traffic again. Last week, you just restarted them and wrote it off as a glitch. You couldn’t shake the feeling there was something weird about it, though. There wasn’t a trace of an error in the logs — not even a warning. Sure e...

All about Coroutines…

Hello people, we are back with one more article and I know you’ve read the title already. In this article I’ll try to cover all the important questions related to coroutine. So without wasting any time, let’s dive in. What are Coroutines? Coroutines are a design pattern for w...