Mastering immutability allows us to reduce bugs caused when objects pass between functions or threads. Here we compare mutable and immutable objects in Scala.
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):
Learn about the Play Framework with Scala.
Learn how to use the well-known Scala optics library Monocle.
A quick and practical guide to mixins in Scala.
Learn about equality in Scala.
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.
Learn how to use case classes as immutable data containers in Scala and how they differ from regular classes.
A quick and practical guide to functions/methods in Scala.
Learn about the Scala’s collection library.
Learn about conditional expressions in Scala