Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Generative Programming in Swift

Generative Programming in Swift

JSON Schema + APIKit Generator

Shintaro Kaneko

August 20, 2016

More Decks by Shintaro Kaneko

Other Decks in Programming


  1. "Dynamic, highly parameterized software is harder to understand and build

    than more static software." (Gang of Four 1995:21)
  2. Generics are a trade off between programmer time, compilation time,

    and execution time. See https://github.com/golang/proposal/blob/master/design/15292-generics.md
  3. Code Generation • Demo (If enough time to introduce) •

    https://github.com/kaneshin/genkit (golang, ver. 0.0.1) • JSON Hyper Schema - prmd • HTTP Request - APIKit