~/talk

The Sincerest Form of Flattery

Talkat Devoxx Belgium 2019 · 2019-11-04..11-08· [java]
slides:none on file

Compares how generics come into Java via erasure and synthetic bridge methods (so arrays of generics are illegal) versus Scala’s declaration‑site variance and immutable collections; notes Java ships generics in 2004 (Java 5) and lambdas in 2014, with lambdas implemented as single‑abstract‑method interfaces that only capture effectively final locals; shows Scala’s built‑in currying/partial application and contrasts that with Java method‑reference bound receivers; previews Java’s sealed types plus records and permits enabling exhaustive, checked pattern matching.

AI-written summary · about

  1. 0:00Intro
  2. 1:22Maurice Naftalin
  3. 2:55Functional Programming: Elegant, Mathematically Sound
  4. 4:09Object-Oriented Languages: Successful but Envious
  5. 10:37Generics: Stating the Problems
  6. 14:46Type Erasure in Generic Java
  7. 16:50Type Erasure: How does it work?
  8. 18:21Type Erasure vs. Inheritance
  9. 21:15How about Arrays?
  10. 24:54Wildcards to the rescue! (really?)
  11. 28:06Generics in Scala
  12. 31:28Closures in Pizza
  13. 34:42Closures Lambdas in Java
  14. 37:10Closures in Scala
  15. 38:14Partial Application in Scala
  16. 42:39Pattern Matching in Pizza
  17. 46:30Pattern Matching in Scala
  18. 49:58Conclusion
~/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.