Industry: Scala

man in white shirt using macbook pro

Concept of UDF in Spark: User-Defined Function

Reading Time: 3 minutes As we all know, Spark contains a whole variety of inbuilt functions through which you can do any sort of transformation in your data frame and achieve your desired output, but sometimes you may find that you don’t require them. Then What? In that case, you can define your own function, known as UDFs (User Defined Functions) which makes it possible to write your own Continue Reading

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

background

SOLID Principle in Scala

Reading Time: 3 minutes Introduction SOLID is one of the most popular design principles in object-oriented software development. Adopting these practices can prevent code smells, refactoring code, and Agile or Adaptive software development. It was promoted by Robert C Martin and is used across the object-oriented design spectrum. It’s a mnemonic acronym for the following five design principles : I’m going to try to explain SOLID Principles in the Continue Reading

IntelliJ hacks using Scala

Reading Time: 3 minutes Introduction An IDE or integrated development environment is a software application that combines, in one place, all the tools needed for a software development project. On a more basic level, IDEs provide interfaces for users to write code, organize text groups, and automate programming redundancies. Here we will talk about IntelliJ IDEA, one of the popular IDE in the market which has advantages over others Continue Reading