~/talk

Keynote: Some Mistakes We Made When Designing Implicits

Talkat Typelevel Summit Lausanne 2019 · on Friday, 2019-06-14· [scala]
slides:none on file

Traces how Scala's implicits grew from conversions to parameters, lists concrete usability failures (name-based resolution causes shadowing and forced odd identifiers, nesting-insensitive lookup creates local ambiguities, conversions and type-class instances look identical, implicit arguments leak into function application, wildcard imports enable global surprises) and presents Scala 3 remedies: names matter becomes optional through anonymous delegates, extension methods plus given parameters replace implicit magic, conversions become a Conversion type class, and imports can import delegates by type to curb surprising scope.

AI-written summary · about

  1. 0:00Intro
  2. 0:30History of Implicits
  3. 11:18Mistake #2
  4. 19:59Mistake #5: Implicit Imports Are Too Close to Normal Ones
  5. 23:17New Design Principles
  6. 32:00Delegates For Typeclasses
  7. 34:07Delegates For Implicit Conversions
  8. 39:03The Hardest Thing...
~/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.