~/talk

Generate You Some Code for Great Good

Talkat Jfokus 2023 · 2023-02-06..02-08· [developer-experience]
slides:none on file

Argues that practical code generation is easy and powerful, showing source generators (JavaPoet, Roster) and bytecode generators (Gizmo, ASM, Byte Buddy) used to produce a runnable HelloWorld during the build, to emit docs, and to mass-fix bugs across a model of 1,500 classes; recounts fixing a many‑to‑many save cycle via one template change and demonstrates using the ASM bytecode viewer to copy compiler output back into ASM instructions. Also mentions Lombok, OpenAPI, gRPC, MapStruct and Jackson Afterburner.

AI-written summary · about

  1. 0:00Introduction to code generation
  2. 1:11Code generation's bad reputation
  3. 2:36Early code gen in finance
  4. 6:30Benefits across languages
  5. 8:39Dangers of code generation
  6. 11:05Tools you already know
  7. 12:51Demo setup
  8. 15:20Java source with Java Poet
  9. 16:28Java source with JBoss Forge
  10. 23:31Byte code with Gizmo
  11. 33:42Byte code with ASM
  12. 42:18Byte code with Bite Buddy
  13. 45:47Q&A on Lombok
  14. 47:35Q&A on inputs
  15. 50:26Closing remarks
~/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.