~/talk

Speculative Development

Talkat :clojureD 2017 · on Saturday, 2017-02-25· [clojure, documentation]
links:none on file
slides:none on file

Shows how clojure.spec is used to validate data, drive generative tests, and produce machine-readable spec forms that are transformed to json-schema and Swagger for cross-language validation. Describes extending spec with docstrings and custom protocol methods, building spec-to-spec transformation functions that generate data mappers, and an open-source library Speculate that converts specs, emits schemas, and performs transformations up to ~1 MB of data; demonstrates it works in production at uSwitch and even accepts posted specs (works but is unsafe).

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Specialized API data structures
  3. 3:23Closure spec fundamentals
  4. 6:54Extending closure spec with metadata
  5. 9:50Custom specs for documentation
  6. 12:00JSON schema from closure specs
  7. 13:49Validating API specs
  8. 15:11Transforming data structures
  9. 18:02Categorizing data for transformations
  10. 20:59Practical applications of speculate
  11. 22:45Benefits of closure specs
~/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.