Javaslang - Functional Java Done Right
summary
Library formerly known as Javaslang (now Vavr) brings persistent collections and immutable data types to Java, replacing much manual copying with structural sharing so bulk updates stay inexpensive. It adds a single family of functional interfaces Function1..n plus checked variants to handle checked exceptions, a one‑method memoize for caching pure functions, tuples, serializable Option/Try/Lazy/Either (Option is iterable so flatMap collapses lists of Option in one line), and experimental pattern matching.
AI-written summary · about
chapters (8)
- 0:00Introduction to Vavr
- 2:14Challenges in functional Java
- 8:56Method predictability
- 13:23Principles of functional programming
- 19:49Core Vavr features
- 28:06Tuples and value containers
- 34:34Collection APIs and benefits
- 42:21Pattern matching and wrap-up
related talks
42mJavaslang - Functional Java Done Right
52mJavaslang - Functional Java Done Right
51mFunctional Programming with Java
51mFrom Java 7 to Functional Programming
55mPain-free Functional Programming with Java 21
48mFunctional data structures in Java
39mFunctional Centered Design
01h 00mLatest Java Best Practices
