Mastering immutability allows us to reduce bugs caused when objects pass between functions or threads. Here we compare mutable and immutable objects in Scala.
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):
Introduction to the Play Framework in Scala
Filed under Play Framework
Learn about the Play Framework with Scala.
Introduction to Optics in Scala Using Monocle
Filed under Libraries
Learn how to use the well-known Scala optics library Monocle.
Class Composition with Mixins
Filed under Scala Basics
A quick and practical guide to mixins in Scala.
Equality in Scala
Filed under Scala Basics
Learn about equality in Scala.
Basics of Generics in Scala
Filed under Scala Basics
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.
Difference Between Class and Case Class in Scala
Filed under Scala Basics
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 Basics
Learn about conditional expressions in Scala