~/talk

Scala for Java developers

Talkat Scala.IO 2017 · 2017-11-02..11-03· [career-development]
links:none on file
slides:none on file

Claim: switching parts of a Java codebase to Scala eliminates most nullpointerexceptions — one presenter counts NPEs on one hand after a year — by using Option instead, immutable case classes and the scala repl for quick prototyping. Shows concrete patterns: copy for immutable updates, pattern matching and for-comprehensions instead of nested flatMaps, implicits for execution contexts and codecs, and recommends Play plus futures/tasks for concurrency. Demonstrates Java interoperability and short, working code examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Why use Scala
  3. 7:34Object orientation
  4. 11:12Scala options
  5. 12:29Scala case classes
  6. 15:18Scala pattern matching
  7. 22:59Immutability
  8. 28:22Flatten
  9. 32:20Multiple parameters
  10. 36:23Conclusion
  11. 37:53Questions
~/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.