~/talk

Latest Java Best Practices

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

Opinionated checklist of which new Java features pay off: functional Java (streams, lambdas, method references) solves the demo task of finding the 10 longest words from a 235,000-word Webster list and prints five 24‑char words; collection factory methods like List.of/Set.of/Map.ofEntries give unmodifiable literals (nulls and duplicates throw); Local Variable Type Inference (var) helps messy generics; Optional semantics reduce protocol ambiguity; new HTTP client, JShell, enhanced switch expressions (Java 14), records (preview) and the enablePreview flag for Java 14 are shown in a Gradle repo with JUnit 5 and Google JSON and the examples run.

AI-written summary · about

  1. 0:00Introduction and caveats
  2. 3:43Java 14 preview features setup
  3. 8:42Functional Java features worth learning
  4. 25:19Default methods in interfaces
  5. 29:15Optional data type explained
  6. 35:22Java Time API replacement
  7. 38:54Collection factory methods
  8. 43:12Local variable type inference
  9. 46:21HTTP client and JShell
  10. 51:17Enhanced switch statements
  11. 55:30Records and pattern matching
  12. 57:38Controversial module system
  13. 59:02Summary and contact info
~/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.