~/talk

Code generation for the masses

slides:none on file

Shows why code generation pays off and how to build one: common Android tools used are Moshi codegen, Dagger, Room, AutoValue, Protocol Buffers, SQLDelight and Swagger/OpenAPI, plus templating with KotlinPoet or FreeMarker/Mustache. Demonstrates a working generator that curls the IANA top‑level domain list and emits a static lookup for faster checks, and a template that generates API call classes from a Swagger spec. Recommends strict JSON schemas, CI to regenerate artifacts, and prefers model‑file generators over complex annotation processors.

AI-written summary · about

  1. 0:00Introduction to code generators
  2. 6:49Annotation processor examples
  3. 13:50Model-based code generators
  4. 20:09Building your own generator
  5. 33:48Long-term benefits of generators
  6. 40:25Q&A on code generation
~/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.