~/talk

Design and Effectiveness of Internal DSLs in Scala

Talkat Voxxed Days Ticino 2019 · 2019-10-09..10-11· [scala]
slides:none on file

Demonstrates how Scala features enable compact internal DSLs by actually building them: adds implicit classes to extend Double into 10.km/5.miles, uses symbolic method names and infix calls with defined precedence for expressions like 10.km + 5.miles, implements a testing DSL with plus/minus tolerance and approximate equality, integrates ScalaTest/ScalaCheck and the Squants-style units library, and uses macros for matcher generation (and reflection) to produce compile-time checked matchers; notes Dotty/Scala 3 changes (given, explicit extension methods, improved macros).

AI-written summary · about

  1. 0:00Introduction
  2. 0:48Domain
  3. 1:47Domainspecific languages
  4. 9:32Domain of Logistics
  5. 10:24Implicit Class
  6. 18:08Priority
  7. 27:58Implicit values
  8. 29:21Demo
  9. 33:06Reference Framework
  10. 35:20Advanced Feature
  11. 36:16Meta Programming
  12. 38:18Specs
  13. 40:29Whats next
~/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.