A quick and practical introduction to the @switch annotation in Scala.
Also find me here:
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Baeldung on Scala
- All
- Scala Basics (31)
- Scala Collections (24)
- Functional Programming (18)
- Scala Type System (12)
- Akka (12)
- Scala OOP (11)
- Scala Core (11)
- Libraries (11)
- Scala Strings (7)
- Play Framework (7)
- Build Tools (7)
- Series (4)
- Scala Syntax (4)
- Scala Concurrency (4)
- Testing (3)
- Scala Web (3)
- Scala Pattern Matching (3)
- Scala IO (3)
- Scala Exceptions (3)
- Persistence (2)
- Apache Spark (2)
- Scala Dates (1)
Scala Traits vs. Abstract Classes
Filed under Scala OOP
In this tutorial, we’ll see what abstract classes and traits are in Scala and the key differences between them.
Introduction to Reactive Mongo
Filed under Persistence
Learn to perform queries with ReactiveMongo.
Implicit Imports in Scala
Filed under Scala Basics
Learn about implicit imports in Scala and go into more detail about the Predef package
Iteration With Index and Value in Scala
Filed under Scala Collections
In this tutorial, we’ll see how we can iterate through a collection while accessing the index in Scala.
Scheduling Asynchronous Tasks in Play Framework
Filed under Akka, Play Framework
Learn to schedule asynchronous tasks in Play Framework.
Introduction to Functional Programming in Scala
Filed under Functional Programming
Learn the basics of functional programming support in Scala.
Difference Between assert and require in Scala
Filed under Scala Basics
Learn about the functionalities of assert and require and their differences in semantics and exception behavior.
Introduction to Generic Programming in Scala with shapeless
Filed under Functional Programming
A quick and practical introduction to generic programming in Scala using the shapeless library