Kotlin DSL in Under an Hour
Offered By: Devoxx via YouTube
Course Description
Overview
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.
Syllabus
Intro
What is DSL
Examples
Similarities
Structure
Transformation
Extension Functions
Console String
Create Client
Simplify Code
Comparison
Scope control
DSL marker annotation
Method invocation
Build configuration
Conclusion
Taught by
Devoxx
Related Courses
Beyond Infrastructure as Code DSLsNDC Conferences via YouTube Kotlin DSL in Under an Hour
Devoxx via YouTube Easy Static Checking for Embedded DSLs in Scala with Contextual
Scala Days Conferences via YouTube Polymorphic Record Types in a Lifted Embedding
Scala Days Conferences via YouTube GitOps, DSL & App Model - Getting Started Building Developer Centric Kubernetes
CNCF [Cloud Native Computing Foundation] via YouTube