Creative DSLs in Kotlin
Regulärer Preis:
34,99 €
Sofort verfügbar
Creative DSLs in Kotlin, Apress
Design Strategies for Real-World Projects
Von Daniel Gronau, im heise shop in digitaler Fassung erhältlich
Produktinformationen "Creative DSLs in Kotlin"
Design and implement domain-specific languages (DSLs) in Kotlin. This book goes
beyond toy examples and provides real‑world insights into writing DSLs in
practice.
You will learn a structured approach to DSL design, including defining goals,
understanding constraints, and avoiding common pitfalls. You will explore
essential Kotlin language features for DSL development, as well as the
interoperability issues that arise when a Kotlin DSL needs to be called from
Java code. You will also review major DSL patterns, including algebraic DSLs,
builder‑style DSLs, and idiomatic approaches like the Loan Pattern. Finally, the
book addresses advanced topics such as modeling state transitions, creating
hybrid DSLs, parsing strings, leveraging annotations, and using code generation
to reduce boilerplate.
This book combines theory, patterns, and real‑world applications to help you
build DSLs that are robust, maintainable, and effective. In the end, you will
not only be able to write DSLs in Kotlin but also understand the
“why” behind important design decisions throughout the entire
process.
What You Will Learn:
- Start, manage, and maintain DSL projects effectively.
- Understand the different DSLs that can be expressed in Kotlin.
- Choose the right DSL for your needs, understanding the trade‑offs of different patterns.
- Leverage Kotlin’s language features for DSL design.
- Address interoperability challenges between Kotlin and Java.
Artikel-Details
- Anbieter:
- Apress
- Autor:
- Daniel Gronau
- Artikelnummer:
- 9798868828218
- Veröffentlicht:
- 28.10.26
Barrierefreiheit
This PDF has been created in accordance with the PDF/UA-1 standard to enhance accessibility. It includes screen reader support, descriptions for Non-text content (such as images and graphs), bookmarks
- entspricht den Vorgaben der PDF / UA 1 (05)
- nicht oder eingeschränkt barrierefrei (09)
- keine Vorlesefunktionen des Lesesystems deaktiviert (bis auf) (10)
- navigierbares Inhaltsverzeichnis (11)
- logische Lesereihenfolge eingehalten (13)
- kurze Alternativtexte (z.B für Abbildungen) vorhanden (14)
- Inhalt auch ohne Farbwahrnehmung verständlich dargestellt (25)
- hoher Kontrast zwischen Text und Hintergrund (26)
- Navigation über vor-/zurück-Elemente (29)
- alle zum Verständnis notwendigen Inhalte über Screenreader zugänglich (52)
- Kontakt zum Herausgeber für weitere Informationen zur Barrierefreiheit (99)