~/talk

Unlocking Java's Code Maze

Talkat Jfokus 2025 · 2025-02-03..02-05· [java]
links:none on file
slides:none on file

Hands-on session runs as a 20 exercise live quiz using Slido and runnable Java snippets that demonstrate concrete gotchas and fixes: static init yields 20, raw types cause a ClassCastException on retrieval, string concatenation with mixed operators prints "result is 16", ConcurrentHashMap merge across two threads sums to 2000 and an AtomicInteger increments to 2, CompletableFuture chains get replaced by CompletableFuture.allOf, Virtual Threads via virtualThreadPerTaskExecutor and RandomGeneratorFactory are recommended and the highest score on the quiz is 17/20.

AI-written summary · about

  1. 0:00Java challenges introduction
  2. 4:39Static initialization warm-up
  3. 7:10Stream partitioning by vowels
  4. 9:04List grouping with loops
  5. 11:34Type erasure in generics
  6. 14:29String concatenation precedence
  7. 18:03Nested collections flatMap
  8. 20:09Concurrency with ConcurrentHashMap
  9. 22:44Atomic variables updates
  10. 24:48Sealed classes errors
  11. 27:59Records immutability comparison
  12. 30:51Immutable lists exception
  13. 32:38Stream skip limit methods
  14. 34:49CompletableFuture allOf optimizations
  15. 39:29Lambda predicate filtering
  16. 42:46HashMap duplicate keys
  17. 46:40VirtualThreads vs traditional
  18. 48:48Random number optimization
  19. 50:56Q&A
~/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.