Author: Pragati Dubey

How To Perform Operations on ZIO Fibers

Reading Time: 3 minutes In this blog post, we will discuss ZIO fibers and how we can use them. We will also get a quick overview of operations on ZIO fibers. Concurrency in ZIO ZIO is a highly concurrent framework powered by fibers, which are lightweight virtual threads that enable huge scalability when compared to threads, reinforced with resource-safe cancellation, which supports several features in ZIO. This robust concurrency Continue Reading

Hacker hands using laptop computer to code

Pattern Matching and Its Types in Scala

Reading Time: 4 minutes In this blog, we will read about pattern matching in Scala followed by various types of patterns in match expressions. What is Pattern Matching? Pattern matching in Scala is a powerful mechanism of checking a value against a pattern. Thus, we match a value against a pattern and a successful match deconstructs the value into its constituent parts to be used further. While providing the Continue Reading

Visualizing data - abstract purple background with motion blur, digital data analysis concept

Synchronous and Asynchronous Fibers in ZIO

Reading Time: 2 minutes In this blog post, we will discuss operations on fiber both synchronous and asynchronous with the help of an example. ZIO ZIO is a highly concurrent framework, powered by fibers, which are lightweight virtual threads that achieve massive scalability compared to threads, augmented with resource-safe cancellation, which powers many features in ZIO. However, this powerful concurrency model lets you do more with less, achieving highly Continue Reading

Metaverse digital Avatar, Metaverse Presence, digital technology, cyber world, virtual reality

Introduction to ZIO Fibers and Fiber Data Type

Reading Time: 3 minutes In this blog post, we will discuss fibers in ZIO, and how are they different from threads. Introduction ZIO is a highly concurrent framework powered by fibers that are lightweight virtual threads. They enable tremendous scalability compared to threads and are reinforced with resource-safe cancellation, which supports several features in ZIO. What are Fibers? Fibers are lightweight equivalents of OS threads which represent an ongoing Continue Reading

What are Zio Effect Constructors?

Reading Time: 3 minutes In this blog post, we will discuss about ZIO effect constructors and how we can use them. Then we’ll take a look at Effect constructors for pure computations and side-effecting computations. Zio Effect Constructors A functional effect is a template for a concurrent workflow. The template which is mostly descriptive in nature, used to test for any side effects. Such as database interaction, logging, data Continue Reading

Scala Traits in Simple words

Reading Time: 2 minutes In this blog post, we will talk about traits in Scala. Then we will discuss how is a trait different from abstract classes. Scala Traits A trait is similar to a partial implementation of an interface. A trait in Scala can contain abstract and non-abstract methods. We can make a trait with all abstract methods or some abstract methods and some non-abstract methods. Variables declared Continue Reading

All you need to know about SOLID Principles

Reading Time: 3 minutes In this blog post, we will discuss about SOLID principles in Scala which are the 5 most recommended design principles. What are SOLID Principles ? The abbreviation SOLID stands for a collection of principles that, when combined, make code more adaptable to change. SOLID principles assist us in making our software more readable, understandable, flexible. They serve as the foundation for developing object-oriented applications that Continue Reading

How to deal with Option data type in Scala

Reading Time: 3 minutes In this blog post, we will talk about Option data type in Scala. Then we will discuss some of the methods for dealing with options. Options In Scala, an Option is a carrier of a single or no element for a specified type. An Option[T] object can be either Some[T] or None object, which represents a value that is not present. Thus, options mainly come Continue Reading

Basic String Operations and Interpolation in Scala

Reading Time: 3 minutes In this blog post, we will talk about strings and some basic string operations. Then, we will discuss string interpolation in Scala. What are Strings ? A string in Scala is a collection of characters. In Scala, string objects are immutable, meaning they can not be changed after they have been created. What are string operations ? Task performed on a string to get any Continue Reading