Generics allow us to maintain type safety while writing code that can be used with a variety of types. Here we explore generic classes and functions.
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)
Difference Between Class and Case Class in Scala
Filed under Scala OOP
Learn how to use case classes as immutable data containers in Scala and how they differ from regular classes.
Functions and Methods in Scala
Filed under Functional Programming
A quick and practical guide to functions/methods in Scala.
Guide to Scala Collections
Filed under Scala Collections
Learn about the Scala’s collection library.
Scala Conditional Expressions
Filed under Scala Syntax
Learn about conditional expressions in Scala
Variances in Scala
Filed under Scala Type System
Learn about variances in Scala.
Guide to Scala Enumerations
Filed under Scala Basics
Learn how to create, retrieve, and extend Scala’s enumeration support.
Exception Handling in Scala
Filed under Scala Exceptions
Learn both functional and imperative ways to handle exceptions in Scala
An Introduction to Scala Extractor Objects
Filed under Scala Pattern Matching
A quick and practical guide to Scala extractor objects.