Pattern Matching

Back2Basics: Scala Extractors in Detail

While working with the Case Classes closely, we have a very concise way to decompose an entity using pattern matching. The potent example is pattern matching on the Some(x) and None, as most of us know they are case class and case object respectively. The potential question that we have is do we have a provision to use similar patterns without having an associated case Continue Reading

Pattern Matching – at a glance

I presented types of Pattern Matching at Knolx session at Knoldus. The presentation talks about the type of pattern matching in Scala with small examples.

%d bloggers like this: