Immutable Data with Java: Using Immutable Data Structures
summary
The talk explains why immutable data structures are useful in Java—improving code clarity and providing inherent thread-safety—and notes that Java lacks built-in support for them. It presents patterns and libraries Java developers can use to create immutables and discusses techniques for representing state changes in otherwise immutable programs, with pros and cons for each approach.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:05What is immutable data?
- 2:51Functional programming
- 10:14Benefits of immutability
- 17:19Challenges with immutability
- 20:30Immutable collections in Java
- 27:27Building immutable objects
- 36:15Code generation with libraries
- 40:37Nested structures and optics
- 48:47Kotlin vs Frege
- 55:33Java Value Types and future
related talks
50mBetter Tools for Immutable Data
47mPurely Dysfunctional Data Structures
42mPure Functions and Immutable Objects
53mData oriented Programming in Java
48mFunctional data structures in Java
47mData-oriented programming in Java
47mUsing Immutable Data Structures in C# and .NET
49mData-oriented Programming in Java
