case

Scala Extractors

The Scala Chronicles: PartialFunction

Reading Time: 3 minutes If you’re new to programming in Scala(like I am), you must have heard someone or the other talking about how awesome and powerful the case keyword, Partialfunction and pattern matching in Scala are. It got me wondering about why people love them that much. So, to unravel this mystery around case, I went on an adventure to find out all there is to know about them(And Continue Reading

Case class and object in Scala

Reading Time: 3 minutes In this blog, we are going to have a look at one of the important concept of Scala that is case class moreover we will also take a look at companion object. Before diving into a case class let’s first look at scala basics. Construct like class, traits, object, the package can have characteristics and behaviour. Scala has access modifier to restrict the use of Continue Reading