Главная
Study mode:
on
1
Introduction
2
Why is immutability important
3
What is referential transparency
4
Immutability in Scala
5
Examples
6
Constraints
7
Issues
8
Limitations
9
Types of immutability
10
Questions
11
Results
12
Summary
13
Declarations
14
mutable templates
15
shallow immutability
16
more details
17
conclusion
Description:
Explore the importance and implementation of immutability in Scala programming through this comprehensive 50-minute conference talk from Scala Days Copenhagen 2017. Dive into the advantages of functional programming with immutable data, examining its role in fault tolerance for systems like Apache Spark and safe message exchange in Akka. Investigate the challenges of Scala's type system lacking a built-in notion of immutability for type definitions. Discover the findings of an empirical study on immutability usage in open-source Scala projects, including the standard library. Learn about shallow and deep immutability, and understand common reasons why type definitions remain mutable. Get introduced to the scala-immutability-plugin for the Scala compiler, enabling you to gather immutability statistics in your own projects. Cover topics such as referential transparency, immutability constraints, limitations, and various declaration types, concluding with a detailed analysis of mutable templates and shallow immutability. Read more

Quantifying and Explaining Immutability in Scala

Scala Days Conferences
Add to list