implicit

Let’s talk about Implicit

Reading Time: 6 minutes I hope from the above picture you can get an idea of “how an implicit can be useful”. This is just a single use case and if you are more interested in knowing about Implicit then this blog is for you. In this blog, I am going to discuss Implicit in Scala. I hope this will be useful to you. So, let’s talk about implicit Continue Reading

Implicit Conversions In Scala: Let’s extend Functionality

Reading Time: 3 minutes Hello folks, in this blog we will see Implicit Conversions in Scala language. And how it helps to make our code more readable. Before going into much detail about implicit let’s understand why we need implicit in Scala. There is a basic difference between your own code and libraries of other people. You can change your code as your need but when you have to Continue Reading

Back2Basics: Catalogue #1

Reading Time: 2 minutes Knoldus Inc is proud to announce the launch of program “Back2Basics”. Back2Basics is our effort to add value to the Scala ecosystem by exploring not so explored concepts in Scala. The idea behind the inception of the program is to develop an understanding of Scala concepts that are hard to understand and not frequently used by developers. In this program, we have two parallel tracks Continue Reading

ScalaFP: Let’s Start with Implicit and Scala Cats

Reading Time: 3 minutes In our last blog, we have discussed the Type Class. You can find that blog Here: Type Class. Now we will discuss the Implicit in Scala. Implicit Implicit in Scala refers to either a value that can be passed “automatically”, so to speak or a conversion from one type to another that is made automatically. So we can create the implicit method with the help of Continue Reading

ScalaFP: Let’s Start with Type Class

Reading Time: 2 minutes Before we start talking about the Functional Programming with the Scala Cats, we should refresh our memory about the Type Class and Implicit. These are the base when we start learning the Scala Cats. Let’s start the discussion with the Type Class. Type Class A type class is an interface or API that represents some functionality, which we want to implement. Type class is programming Continue Reading

Effective Programming In Scala – Part 3 : Powering Up your code implicitly in Scala

Reading Time: 5 minutes Hi Folks, In this series we talk about the concepts that provide a better definition to the code written in scala. We provide the methods with some definitions that lead to perform a task in a better way. Lets have a look at what we have done in the series so far, Effective Programming in Scala – Part 1 : Standardizing code in better way Continue Reading

Running with Implicits – Extending Functionality

Reading Time: 2 minutes We had an interesting case of enhancing the functionality of a logging library with our own case to feed data into DataDog. That brought us back to the quick discussion on implicits in Scala. Implicits in a quick sense is Magic! Too much of it and you get lost. In the right balance it is quite useful. One of the favorite examples that I use Continue Reading