Java 8: Functional programming
summary
Live coding shows Java 8 features with concrete examples: lambdas and streams for counting capital letters, using IntStream, mapToObj and method references to avoid boxing, and demonstrating lazy evaluation with peek and count. Optional usage replaces exceptions with Optional.ifPresent. Builds include OpenJDK on Raspberry Pi (reported ~18 minutes on a quad‑core $35 board) and a submitted OpenJDK 9 patch that later took months to accept. Also demonstrates a higher‑order function that returns a character chooser and the example runs successfully.
AI-written summary · about
chapters (5)
related talks
52mFunctional Programming with Java 8
01h 25mJava 8 Language Capabilities, What's in it for you?
51mFunctional Programming with Java
55mFunctional Programming Patterns with Java8
56mJava Functional Programming Idioms
36mHow functional programming change my Java code
55mFunctional Programming in Java
43mLearning modern Java the playful way
