Functional Programming in Java, Groovy, and Kotlin
summary
Compares Java 8 lambdas and Java streams lazy short‑circuiting to Groovy 3.0.8 closures with a mutable delegate and built‑in curry/memoize, and Kotlin (attempted 1.5 prerelease) extension functions, sequences, and tailrec. Shows a Java prime checker rewritten with range().noneMatch and mapToInt().sum, Spock and JUnit 5 tests passing, a Groovy geocoder and a small Flickr “cat pictures” GUI that downloads images and works, and a mixed Java/Groovy/Kotlin GitHub repo with runnable examples.
AI-written summary · about
chapters (12)
- 0:00Introduction to JVM languages
- 1:30Language versions and setup
- 3:56Functional features overview
- 13:30Lambda expressions demo
- 15:37Map filter reduce in Java
- 22:38Map filter reduce in Groovy
- 27:34Map filter reduce in Kotlin
- 36:45Beyond basic functional features
- 46:58Groovy's dynamic typing and geocoder
- 52:16Cat pictures demo in Groovy
- 57:35Comparison and conclusions
- 59:21Q&A session








