Author: Sonu Mehrotra

Scala 3.0

An Introduction to Givens in Scala 3

Reading Time: 3 minutes In this blog, I am going to discuss about a new and exciting feature which is being introduced in Scala 3 – givens. In my previous blog posts, I have written about some other new Scala 3 features. You can check them out here. A little bit of the background first. Scala 2 has a very powerful feature called implicits. While implicits have been extremely Continue Reading

What is Open Class in Scala 3?

Reading Time: 2 minutes At Knoldus, we are pursuing to learn and share Scala 3 features with the community. In that quest, I am writing this blog to talk about a new feature being introduced in Scala 3 – Open Class. You can read about our other blogs on Scala3 here. Story till Scala2? In Scala 2, all classes are by default available for extensions, and we need to Continue Reading

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

Introducing Trait Parameters in Scala 3

Reading Time: 2 minutes At Knoldus, we are endeavoring to learn Scala 3 and share it with community. There are multiple blogs which have been published here on Scala 3 which you can visit to get to know about other new features of the language. In this blog post, I will take you through the feature of trait parameters introduced in the language. Traits in Scala 2 Traits are Continue Reading

DAML Fundamentals: Optional Data Type

Reading Time: 3 minutes DAML is a powerful open sourced language created to write distributed applications quickly, concisely and correctly. On this site, we have got blogs for you that help you in getting started with DAML. Just type DAML is the search box and hit enter 😉 DAML provides different data types to build the ledgers. You can get a quick overview of some of these types by Continue Reading

Table Driven Testing in Scala

Reading Time: 3 minutes As a software developer, I ensure to write unit tests for the code which I write (and at times the missing unit tests for the existing code). My aim has been to ensure to cover all the cases that arise out of the code written and therefore I face challenges in this too. Because of my endeavour to write a sufficiently strong test suite for Continue Reading