abstract classes

Difference Between Abstract Class and Trait in Scala

Reading Time: 4 minutes In this blog we’ll go through the practical difference between the Abstract class and Trait in Scala. I. OVERVIEW Firstly, Let me give you a brief introduction on what Abstract class and Traits are in Scala. After that we’ll start with the differentiation. ABSTRACT CLASS Abstraction means hiding the internal details and showing only the functionality. And, In Scala abstraction is achieved by using abstract Continue Reading

Scala Beginner Series (2) : Object Oriented Scala

Reading Time: 7 minutes This series is all about the taste of Scala.It is best suitable for all the newbies in Scala. You may also like: Scala Beginner Series (1) : Basics In the previous part, we covered: Values, variables, expressions and types Functions and recursion The Unit type This article will cover the object oriented nature of Scala language. Classes Scala has the same concept of a class as we Continue Reading

Scala Traits – Let’s mix it up a bit

Reading Time: 6 minutes Scala has way too many unique features that have always stunned the developers worldwide. Some of its features like Lazy evaluation, case classes, etc. have totally changed the coding standards for good. In this blog today, we will be taking you on a small tour to one of these unique and mesmerizing features that Scala has in store for its users i.e Scala Trait Mixin. Continue Reading