~/talk

Creating DSLs A tale of spec tacular success and failure

Talkat Clojure/west 2016 · 2016-04-15..04-16· [clojure]
links:none on file
slides:none on file

Spec-tacular is a DSL sitting between Clojure and Datomic that turns map specs into Datomic schemas, gives runtime and static verification, and supplies concise create/update/query forms; it runs in production (v0.6.0) but enforces strict entity typing that omits a generic any/ref and breaks Datomic idioms. Query and transact are macros that hide transaction data, namespaces collide rather than isolate, and base types and macro syntax are not extensible. It implements three update modes (by-reference/link, by-value, component) which mostly work but struggle with tree merges and advanced migrations.

AI-written summary · about

  1. 0:00Start
  2. 0:17Once upon a time...
  3. 17:02modularity
  4. 17:14composability
  5. 19:22immutability
  6. 24:11extensibility
  7. 27:19incremental abstraction
  8. 31:33illogical data doesn't reach the database
~/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.