Scala3 Vlog: Enumerations

Reading Time: < 1 minute

Hello folks,

We have released another video on Scala3 series which talks about Enums, short for Enumerations.

Enums in Scala3 are more powerful as compared with Scala2. The reasons are:

  • Scala3 enums are compatible with Java Enums.
  • Pattern matching on Scala3 Enums is exhaustive.
  • With Scala3 Enums, you can also create your ADTs in more lighter way.

Watch out the video on Scala3 Enums to get more details on it.

Knoldus-blog-footer-image

Written by 

Harshit Daga is a Sr. Software Consultant having experience of more than 4 years. He is passionate about Scala development and has worked on the complete range of Scala Ecosystem. He is a quick learner & curious to learn new technologies. He is responsible and a good team player. He has a good understanding of building a reactive application and has worked on various Lightbend technologies like Scala, Akka, Play framework, Lagom, etc.