Author: Pragati Dubey

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