~/talk

Quantifying and Explaining Immutability in Scala

Talkat Scala Days Copenhagen 2017 · 2017-05-30..06-02· [scala, software-architecture]
slides:none on file

Empirical study analyzes medium-to-large Scala projects with a Scala 2.11 compiler plugin and outputs per-template immutability stats; scala-immutability-plugin runs over sources and reports shallow, deep and conditional deep immutability. Key findings: about one third of templates are deep immutability, less than half are mutable overall, case classes are far more immutable (≈25% mutable vs ≈50% for plain classes), and Akka actor <20% mutable while many singletons are immutable.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50Why is immutability important
  3. 5:22What is referential transparency
  4. 10:47Immutability in Scala
  5. 12:55Examples
  6. 15:12Constraints
  7. 16:41Issues
  8. 18:01Limitations
  9. 19:50Types of immutability
  10. 24:55Questions
  11. 32:00Results
  12. 39:40Summary
  13. 40:40Declarations
  14. 42:23mutable templates
  15. 43:28shallow immutability
  16. 44:22more details
  17. 44:54conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.