Author: Pappu Bhardwaj

man sitting in front of three computers

Exploring the Exciting New Features of Scala 3

Reading Time: 4 minutes Introduction Scala 3 is a major revision of the Scala programming language which has many new features. Technically, Scala is a statically-typed object-oriented language that combines functional and object-oriented programming paradigms. In Scala 3, many new features and improvements have been added. It features a revamped type system that is more consistent and predictable. This change allows for new features such as union types, and Continue Reading

philips

The Beginner’s Guide to Easy Parallel Programming With Scala Futures

Reading Time: 3 minutes Introduction We can build a Futures API into the Scala programming language, making parallel programming much easier than using threads, locks, and callbacks. The purpose of this blog post is to provide an overview of Scala’s Futures: how they work, how you can use them, and how you can use them to leverage parallelism in your code. Creating Futures We have imported under the name Continue Reading

background

The best CODE Migration TOOL for SCALA Explained

Reading Time: 2 minutes Introduction With Scalafix, you can focus on the changes that truly merit your time and attention rather than having to deal with easy, repetitive, and tedious code transformations. Scalafix is the best code migration tool for Scala and transforms unsupported features in source files into newer alternatives and writes the result back to the original source file. Scalafix may not be able to perform automatic Continue Reading

All-knowing about error handling in the ZIO library

Reading Time: 2 minutes Introduction Errors are unwanted or unexpected events that occur during the execution of a program or during runtime. During the execution of programs, these errors affect the flow control of the program. There are a few situations that can be managed by the program that is not too dangerous. Error handling in ZIO library helps to safely the execution of a program without any interruptions. Continue Reading

Everything You Need To Know About ZIO Fiber And Its Operations Explained.

Reading Time: 3 minutes Introduction To perform an effect without blocking the current process, we can use fibers in ZIO Library, which are a lightweight concurrency mechanism. In the ZIO library, we can fork any IO[E, A] to immediately yield a UIO[Fiber[E, A]]. The provide Fiber can be use to join the fiber, which will resume on the production of the fiber’s value, or to interrupt the fiber, which Continue Reading

All about to know Exception Handling in Scala

Reading Time: 3 minutes Introduction In this blog, we’re going to talk about exception handling in Scala. We’ll also explore different ways of handling Exception by using different constructs provided by Scala. What’s an Exception ? An exception is an event that interrupts the normal flow of a program. Exception handling is the process of responding to an exception. In Scala, Exceptions are either checked or unchecked. Scala allows Continue Reading

Things to know about Multithreading in Scala

Reading Time: 5 minutes What is Scala Multithreading? Multithreading means we can execute multiple threads at once. We can also perform multiple operations independently and achieve multitasking. This helps us to develop concurrent applications. What is Scala Threads? In Scala, a thread is a lightweight sub-process that occupies less memory. To create a Thread, we can either extend the Thread class or the Runnable interface. We can use the Continue Reading