ScalaTraits

Back2Basics: The Story of Trait – Part 3

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

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 means, that scope of variable is within constructor Continue Reading

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

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

%d bloggers like this: