A Dozen Cool Things You can Do with JVM Languages
summary
Shows 12 concrete JVM-language tricks with code hits: file reading via Groovy's file.text and Scala's Source.mkString, running processes with Groovy "string.execute().text", Java Streams + Collectors.joining for CSV, an execute‑around pattern that auto‑closes resources, Kotlin delegation by lazy for deferred eval, Scala tail‑call optimization (tailrec) for huge factorials, Groovy MarkupBuilder for XML, Kotlin extension and infix methods to create fluent APIs. Each item states the method used and the surprising payoff (less boilerplate, huge inputs handled, or one‑line external IO).
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:00Read a file
- 3:48Rewrite code
- 8:00Garbage collector
- 12:06Automatic Resource Management
- 16:49Traits
- 18:47Example
- 29:06Pattern Matching
- 36:17Creating XML
- 40:14Tailcall optimization
- 45:32Extension methods
- 48:06Fluent syntax
related talks
49mA Dozen Cool Things We Can Do With Popular JVM Languages
53mA Dozen Cool Things We Can Do With Popular JVM Languages
01h 12mThe Power of JVM Language
53mRefactor your language knowledge portfolio - we are what we can code in
01h 01mPolyglot Programming in the JVM
45mFive Java Features You Didnt Know About
43mFunctional Programming in Java, Groovy, and Kotlin
44m5 JVM languages in 50 minutes
