Kotlin DSLs
summary
Shows concrete DSL builds: UI with anko-style code, dependency wiring with coin beans/factories, test specs and mocks resembling KotlinTest/mocking examples. Explains and demonstrates the actual language features used — lambda with receiver, trailing lambdas, infix calls, operator overloading, empty-object placeholders — and why each is chosen. Presents short code samples that are compiled and runnable, points out pitfalls (scope leakage, overuse of placeholders) and which patterns work cleanly versus which become confusing.
AI-written summary · about
chapters (8)
- 0:00Start
- 10:37kotlintest
- 15:11Lambda vs. Lambda with receivers
- 19:44Anko
- 21:29Concepts covered so far
- 22:51Designing DSLS
- 25:21General libs
- 26:07Android specific libs








