Author Archives: Harmeet Singh(Taara)

ScalaFP: Understanding Monoids In Scala Pragmatically


As we discussed in our previous post, Monoids are semigroups meaning they have properties called closure and associative, along with identity element. So, now our question is, why do we require the identity element? Let’s add this one to our questions which … Continue reading

Posted in Scala, Functional Programming | Tagged , , , , , , , , , | 3 Comments

ScalaFP: Let’s Begin With Monoids


As we discussed in our semigroups post, monoids are also kind of functional design patterns. Most of the FP beginners are always confused between Monads and Monoids. According to them both are the same, Is It? In this post, we will be … Continue reading

Posted in Functional Programming, Scala | Tagged , , , , , , , , | 5 Comments

ScalaFP: Understanding Semigroups In Scala Pragmatically


In our previous post, we discussed semigroups according to mathematics and we conclude that semigroups have two properties called closure and associativity. But still, we have some questions like: How can we use semigroups by using Scala? Where do we … Continue reading

Posted in Functional Programming, Scala | Tagged , , , , , , , , , | 3 Comments

ScalaFP: Let’s Begin With Semigroups.


While we start looking into functional programming, the first thing we find out is “Category Theory” and if you are not a mathematician, then, it is really a huge pain to find out the answers to questions like “what, how … Continue reading

Posted in Functional Programming, Scala | Tagged , , , , , , , , , , | 6 Comments

Knolx: The Hidden Mystery Behind Scala Functional Programming


Hello everyone, Knoldus organized a session on 25th January 2018. The topic was “The Hidden Mystery Behind Scala Functional Programming”. Many people attended and enjoyed the session. In this blog post, I am going to share the slides & video of the session. … Continue reading

Posted in Functional Programming, Scala | Tagged , , , , , , , , , , , , | 1 Comment

Knolx: Guaranteed No Stress Baby Steps Using Akka Streams Part-II


Hello everyone, Knoldus organized a session on 25th November 2017. The topic was “Guaranteed No Stress Baby Steps Using Akka Streams Part-II”. Many people attended and enjoyed the session. In this blog post, I am going to share the slides & video … Continue reading

Posted in Akka, Java, Scala, Streaming | Tagged , , , , , , | 1 Comment

Knolx: Guaranteed No Stress Baby Steps Using Akka Streams Part-I


Hello everyone, Knoldus organized a session on 28th October 2017. The topic was “Guaranteed No Stress Baby Steps Using Akka Streams Part-I”. Many people attended and enjoyed the session. In this blog post, I am going to share the slides & video … Continue reading

Posted in Akka, Java, Scala, Streaming | Tagged , , , , , , | 1 Comment

Back2Basics: For Expression Served From Scala Magic Box – I.


In Scala, lots of the things are kind of a magic for Java developers. Sometimes this magic amazes the code but sometimes it has ruined the developer’s life. Today we are going to discuss one of the magic called “For … Continue reading

Posted in Functional Programming, Java, Scala | Tagged , , , , , , , , , , | 2 Comments

Back2Basics: Pass-By-Name and HOF in Scala argue as a Husband And Wife.


Scala has lots of features and one of the features always confused me called “pass-by-name” argument.  For me pass by name is same as “higher-order-function” but different from just syntax otherwise everything is same. While googling out for their difference, I … Continue reading

Posted in Functional Programming, Scala | Tagged , , , , , , , , | 2 Comments

Back2Basics: Do you know Scala Eta-Expansion and HOF Chemistry?


I am working on Scala from last 2 years, and pretty confident about Scala concept like HOF, Currying and more. But Recently again looking into the HOF (Higher Order Functions) in Scala. I am pretty confident, HOF is “Passed a … Continue reading

Posted in Functional Programming, Java, Scala | Tagged , , , , , , , , , , , , | 2 Comments