ScalaTraits

Introducing Transparent Traits in Scala 3

Reading Time: 2 minutes I am learning Scala 3 and as I go along, I want to share about it with our community. In this quest, I had written an article a few days back on Trait Parameters in Scala 3. Check it out! In this article, I am going to write about a new feature of Scala 3, called Transparent Traits. Firstly, we will look into the problem 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

Back2Basics: The Story of Trait – Part 3

Reading Time: 4 minutes In our previous blog The Story of Trait – Part 2, we have discussed that traits can have implementation too and how they behave under the hood. In this blog, we will discuss mixins one of the most charming features of traits. Mixins are the wonderful concept of object-oriented programming. Sadly, some of the mainstream object-oriented programming languages like C++, Java, C#, have not provided Continue Reading

Scala Trait and Mixin – Points to Remember

Reading Time: 3 minutes Scala Trait and Mixin – Points to Remember Trait can be viewed not only as interfaces in other languages, but also as classes with only parameterless constructor. Whenever there is some code in trait, the trait is called mixin. trait Alarm { def trigger(): String } In scala trait, If we create simple class and pass parameter in constructor, without any val or var, it Continue Reading

ScalaTraits One Day Kickstart Play and Scala Event, ScalaGeek’s meetup

Reading Time: 2 minutes ScalaTraits, a Scala Users Group initiative run by Knoldus and Typesafe in the New Delhi NCR region ran its third meet-up to a huge success in central Delhi. There were 20+ Scala enthusiasts who spent the day writing Scala and Play code on their laptops and finally deployed it on Heroku. It was a fun-filled event with a superb location and excellent food (Ok, my Continue Reading