4 comments on “Back2Basics: The Story of Trait – Part 4”

Back2Basics: The Story of Trait – Part 4


In our previous blog The Story of Trait - Part 3, we have discussed the mixin, one of the charming feature of traits. Now we are going to explore chaining of traits. We have seen how can we mix more than…

1 comment on “Back2Basics: Demystifying Eta Expansion”

Back2Basics: Demystifying Eta Expansion


In this blog, we will talk about eta expansion in Scala. How they behave under the hood before and after Scala version 2.12. Scala has both methods and functions in Scala. We refer them interchangeably but there are situations where…

6 comments on “Back2Basics: The Story of Trait – Part 3”

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…

9 comments on “Back2Basics: The Story of Trait – Part 2”

Back2Basics: The Story of Trait – Part 2


In our previous blog The Story of Trait – Part 1, we have discussed how traits are the just regular interfaces at the very basic form. In this blog, we will explore about traits can have method implementation too. We…

8 comments on “Back2Basics: The Story of Trait – Part 1”

Back2Basics: The Story of Trait – Part 1


In this blog, we will have a look at traits in Scala. We have classes in Scala. Suppose we have a class Dog which has a method speak. Now if we want another class Cat which has the same method…

2 comments on “Getting Lazy With Scala”

Getting Lazy With Scala


In this blog, we will talk about lazy evaluation in Scala. How we can add efficiency to our application? Efficiency is achieved not just by running things faster, but by avoiding things that shouldn't be done in the first place.…

0 comments on “Knolx: Demystifying Mesos”

Knolx: Demystifying Mesos


Hello everyone, Knoldus organized a session on Fri Dec 15, 2017. The topic was “Introduction to Mesos”. Many people attended and enjoyed the session. In this blog post, I am going to share the slides & video of the session.…

2 comments on “Working with XML in Scala”

Working with XML in Scala


In this blog, we will talk about how we can work with XML using Scala. Scala treats XML as the first-class citizen. So, instead of embedding XML documents into strings. , you can place them inline in your code like…

2 comments on “How to throttle messages using Akka Fsm ?”

How to throttle messages using Akka Fsm ?


A few days ago, I was having an issue that the rate of incoming message requests to the process was too high.  All requests were thus being processed in future. By default, every message request was getting processed in parallel.…

5 comments on “Exploring the Real Power of Functional Programming”

Exploring the Real Power of Functional Programming


We have been programming with object-oriented technology for quite a while. But now we are moving away from it. Functional Programming is getting lot of attention nowadays. Even every mainstream language is now supporting functional style i.e Java, C++, C#…