Главная
Study mode:
on
1
Intro
2
What is DSL
3
Examples
4
Similarities
5
Structure
6
Transformation
7
Extension Functions
8
Console String
9
Create Client
10
Simplify Code
11
Comparison
12
Scope control
13
DSL marker annotation
14
Method invocation
15
Build configuration
16
Conclusion
Description:
Discover how to create type-safe and statically typed Domain-Specific Languages (DSLs) in Kotlin in this 45-minute conference talk. Explore the language features that enable DSL creation, examine practical examples, and build a simple DSL from scratch. Begin with an introduction to DSL-related Kotlin features, then participate in a live coding session to create and enhance a basic DSL. Analyze various examples, including JSON and XML builders, data binding, configuration, and template engines. Learn about extension functions, console strings, client creation, code simplification, scope control, DSL marker annotations, method invocation, and build configuration. If time allows, examine a Kotlin DSL example in the TeamCity continuous integration server.

Kotlin DSL in Under an Hour

Devoxx
Add to list