#scala

Circuit Breaker in Akka

Reading Time: 3 minutes Hey everyone, in today’s blog I will be covering the concept of Circuit Breaker in Akka. Before moving forward to it just think of a situation when you are requesting on a website and it is taking too much time. You try to refresh the page and still the same. Would you like to use that website again? I think the answer will be no. Continue Reading

Combating Fallacy in Scala: Part 2

Reading Time: 3 minutes Welcome back to this amazing series of Combating Fallacy in Scala: Part 2. For this part, the topic will be “Tuple Unpacking”. So, let’s move forward. Tuple Unpacking Before looking into this, let’s have a look at Tuple in Scala. According to the Scala Docs “A tuple is a neat class that gives you a simple way to store heterogeneous (different) items in the same container.“ A tuple provides Continue Reading

Traits – The beauty of Scala

Reading Time: 4 minutes In this blog we will discuss about a Trait and how Traits can help you to beautify your code by Multiple Inheritance. Traits Traits are a fundamental unit of code reuse in Scala. Trait encapsulates method and field definitions, which can be reused by mixing into classes. Two most important concept about Traits are :- Widening from thin interface to rich interface Defining stackable modifications. Continue Reading

String Interpolation in Scala

Reading Time: 2 minutes Lets just refresh few of the Scala concepts in more detail, So in this blog we are going to discuss about string interpolation which is a amazing concept. As we know logging, printing and debugging is an important part of programming by String Interpolation we can use the String literals in an easy way. String Interpolation String interpolation is a concept in which we can Continue Reading