Kleisli is a term that appears frequently when reading about functional programming. It is an important concept but it is not trivial to grasp. Often it is easier to understand new ideas by putting them into practice, in this blog entry we will see h...
Hello World! Hi, I'm Annie. I am a full-stack developer, who has a passion for coding; creating things for the web and making creative front-end projects. I'm looking to use this blog to connect with like-minded people and grow in my own skills along...
Lazy loading is the process of loading something asynchronously, or at least not right away on page load. This can be useful for sites with heavy image loading, or a page that wants to reduce initial page load times. Lazy loading in React can help wi...
1. Introduction This is another part of the Cats Effect 3 series. In this short part, let's look at some of the ways to handle errors in Cats Effect 3. 2. Raising an Error Firstly, let's see how we can raise an error in CE. We can create a failed IO ...
Some months after my first big conference in Italy (Codemotion) here we are, moving into London to attend the biggest Scala conference, the Functional Scala conference. For those who doesn't know (and in Italy there are a lot of people which doesn't ...
Let's imagine you need to add a dashed border to a view. Normally, you would write code like that. First iteration private func addUglyDashedBorder() { borderLayer = CAShapeLayer() let viewRect = CGRect(x: 0, y: 0, width: frame.size.width, he...
Learn how to create a customized retry policy with error handling using the Cats-Retry library. Discover the various methods like retryingOnSomeErrors and retryingOnFailures, that enable users to retry an API call when encountering exceptions or non-...