~/talk

A Dozen Cool Things We Can Do With Popular JVM Languages

Talkat Developer Summit 2020 · 2020-11-21..11-22· [java]
slides:none on file

Shows a dozen concrete tricks across Java, Scala, Groovy and Kotlin: file reads using Groovy’s new File(...).text and Kotlin’s readText, running shells with "git".execute().text in Groovy, implementing an AutoCloseable use(Consumer<Resource>) execute‑around helper in Java to guarantee cleanup, Scala traits for stackable mixins, Collector.joining for comma lists, Scala lazy vals to avoid duplicate work, Kotlin smart‑casting/pattern matching, Groovy MarkupBuilder XML DSL, tail‑call optimization in Scala, and Kotlin extension/infix functions.

AI-written summary · about

  1. 0:00Introduction to JVM languages
  2. 1:29Reading files in Groovy Scala Kotlin
  3. 5:00Interacting with external processes
  4. 9:16Execute around method pattern
  5. 23:00Traits and stackability in Scala
  6. 25:49Joining values in a string
  7. 29:41Lazy evaluation in Scala
  8. 34:21Argument matching in Kotlin
  9. 37:53Smart casting in Java
  10. 41:48Creating XML with Groovy
  11. 46:03Tail call optimization in Scala
  12. 49:16Extension functions in Kotlin
  13. 50:39Infix notation for fluent syntax
  14. 52:06Summary and closing
~/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.