~/talk

A Dozen Cool Things We Can Do With Popular JVM Languages

Talkat Devoxx Ukraine 2021 · 2021-11-19..11-20· [java]
slides:none on file

Twelve concrete tricks across Java, Scala, Groovy and Kotlin: quick file reads via Groovy .text and Kotlin readText or Scala Source.fromFile.mkString, launching OS commands with String.execute (Groovy) which cut 150–200 lines to ~50–75, an explicit Resource.use pattern (lambda + try/finally) for execute‑around, Scala traits for stackable mixins, Collectors.joining, Kotlin lazy evaluation and pattern matching with smart casting, DSL XML generation with Groovy MarkupBuilder, tail‑call optimization notes, extension and infix functions for fluent APIs.

AI-written summary · about

  1. 0:00Start
  2. 2:55Accessing a File
  3. 4:31Kotlin
  4. 11:03The Execute around Method Pattern
  5. 11:51The Execute around the Method Pattern
  6. 32:24Pattern Matching Syntax
  7. 34:45Auto Casting
  8. 37:18Generate an Xml Document
  9. 40:51Tail Call Optimization
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.