~/talk

What's coming in Scala 3

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

Scala 3 shows concrete, testable changes for migrating Scala 2: @main for top-level mains and optional whitespace/block syntax, enums that compile to Java enums when possible, traits with constructor parameters, and dropping new for class construction. Contextual abstractions replace implicit with givens and summon for contextual parameters and explicit imports, functions-from-methods work with type params, union/sum types and improved pattern-match exhaustiveness, and inline + compile-time match and error enable typeclass derivation and faster metaprogramming without traditional macros.

AI-written summary · about

  1. 0:00Start
  2. 1:18start writing some code
  3. 15:43create your own custom patterns
  4. 16:46define factory methods in a companion object
  5. 26:30define an extension method
  6. 27:10terminal coloring
  7. 31:23find an optional data type
  8. 40:05thread pool
~/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.