~/talk

Practical uses of code generation at Mitene

TalkinJapaneseat iOSDC Japan 2020 · 2020-09-19..09-21· [developer-experience]
links:none on file
slides:none on file

This talk explains how the iOS team at Mitene adopted code generation using Sourcery and Stencil to automate parts of their app. It covers concrete uses—automatic generation of test data to write unit tests more efficiently and generation around dependency injection (DI)—and describes implementation details, lessons learned after a year of operation, and pros/cons compared with alternatives such as external libraries.

AI-written summary · about

  1. 0:00Code generation at Mitene
  2. 1:15Interest in code generation
  3. 3:21Practical uses in MVP
  4. 6:36Dependency injection automation
  5. 6:57Mock generation challenges
  6. 8:07Sourcery Stencil basics
  7. 11:28Test builder generation
  8. 14:26Operating Stencil in practice
  9. 16:18Mastering Sourcery Stencil
  10. 17:43Code generation limits
  11. 19:36One year of code generation
  12. 20:45Summary
~/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.