~/talk

The Dark Side of Java 8

Talkat JDD 2018 · 2018-10-08..10-09· [java]
slides:none on file

Java 8 introduces concrete bugs and surprising behaviors: the Stream API’s flatMap evaluates entire inner streams so short‑circuiting can fail (infinite or expensive inner streams), and Java 9 later adds takeWhile / dropWhile to solve conditional termination. Lambdas still choke on checked exceptions unless you use a sneakyThrow generic cast to rethrow checked exceptions as unchecked. Parallel streams run on the shared ForkJoinPool by default, making parallelism unpredictable and sometimes slower; many issues get fixed in later JDKs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40History of Java 8
  3. 2:19Why Java 8 was broken
  4. 3:14Java Real Cycle
  5. 5:09Conditional Stream Termination
  6. 6:40Limit Method
  7. 7:50Stream Flat Map
  8. 8:08What are Streams
  9. 8:51Stream Sequences
  10. 9:28Cohesion
  11. 9:50Example
  12. 11:33Algorithm
  13. 13:21Result
  14. 14:35Take while implementation
  15. 16:09Nested List
  16. 17:21Functional Interfaces
  17. 18:07Exception Throwing
  18. 18:38Repackage
  19. 19:03Outsmart Oracle
  20. 21:57Slow Down
  21. 22:12Runtime Exceptions
  22. 22:33Parallel Streams
  23. 23:00Parallel Computing
  24. 24:31Multiple Questions
  25. 25:11Static Fork Drawing
  26. 25:28For Joint Framework
  27. 25:55Fork Method
  28. 26:27Third Method
  29. 31:15Key takeaway
~/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.