KI-Beratung Beta

Produktbild: Programming DSLs in Kotlin

Programming DSLs in Kotlin

12,99 €

inkl. gesetzl. MwSt.

Beschreibung

Creating your own domain-specific languages (DSLs) is both challenging and exhilarating. DSLs give users a way to interact with your applications more effectively, and Kotlin is a fantastic language to serve as a host for internal DSLs, because it greatly reduces the pain and effort of design and development....

Beschreibung

Creating your own domain-specific languages (DSLs) is both challenging and exhilarating. DSLs give users a way to interact with your applications more effectively, and Kotlin is a fantastic language to serve as a host for internal DSLs, because it greatly reduces the pain and effort of design and development. But implementing DSLs on top of Kotlin requires understanding the key strengths of the language and knowing how to apply them appropriately. Learn to avoid the pitfalls and leverage the language while creating your own elegant, fluent, concise, and robust DSLs using Kotlin.

Internal DSLs remove the burdens of implementing a full blown language compiler. The host language quickly becomes your ally to creating DSLs, but the syntax you can choose for your DSLs is limited to what the host language allows. You can work around the limitations by tactfully bending the rules and exploiting the language capabilities. Learn the power of Kotlin and ways to design with it, in the context of crafting internal DSLs

Start by learning ways to exploit the flexibilities of Kotlin to make your DSLs fluent, expressive, and concise. Then pick up techniques to extend the language with domain specific properties and functions. Quickly move ahead to tie your DSL snippets into the runtime environment and context of execution of your applications. Design to prevent any non-sensical syntax in your DSL that may otherwise be valid in the host language. Finally, learn techniques to gracefully handle errors. Practice using the multiple examples that are included in each chapter.

Fire up your editor and follow along each example to become proficient in designing and implementing your own internal DSLs using Kotlin.

What You Need:

Kotlin version 1.3 or later and your favorite Kotlin IDE or code editor.

Produktdetails

Format

ePUB

Kopierschutz

Ja

Family Sharing

Ja

Text-to-Speech

Ja

Produktdetails

Format

ePUB

Format

eBooks im ePUB-Format erlauben eine dynamische Anpassung des Inhalts an die jeweilige Display-Größe des Lesegeräts. Das Format eignet sich daher besonders für das Lesen auf mobilen Geräten, wie z.B. Ihrem tolino, Tablets oder Smartphones.

Kopierschutz

Ja

Kopierschutz

Zum Lesen dieses eBooks auf Geräten der tolino Familie sowie auf sonstigen eReadern und am PC benötigen Sie eine Adobe ID. Weitere Hinweise zum Lesen von kopiergeschützten eBooks finden Sie unter Hilfe/Downloads.

Family Sharing

Ja

Family Sharing

Mit Family Sharing können Sie eBooks innerhalb Ihrer Familie (max. sechs Mitglieder im gleichen Haushalt) teilen. Sie entscheiden selbst, welches Buch Sie mit welchem Familienmitglied teilen möchten. Auch das parallele Lesen durch verschiedene Familienmitglieder ist durch Family Sharing möglich. Um eBooks zu teilen oder geteilt zu bekommen, muss jedes Familienmitglied ein Konto bei Thalia oder einem anderen tolino-Buchhändler haben. Weitere Informationen finden Sie unter Hilfe/Family-Sharing.

Text-to-Speech

Ja

Text-to-Speech

Bedeutet Ihnen Stimme mehr als Text? Mit der Funktion Text-to-Speech können Sie sich im tolino webReader und in der aktuellen Thalia – Lesen & Hören App das eBook vorlesen lassen. Weitere Informationen finden Sie unter Hilfe/Text-to-Speech.

Erscheinungsdatum

23.03.2021

Verlag Pragmatic Bookshelf
Seitenzahl

50 (Printausgabe)

Dateigröße

1530 KB

Sprache

Englisch

EAN

9781680508260

Barrierefreiheit
  • keine Information zur Barrierefreiheit bekannt

Noch keine Bewertungen vorhanden

Verfassen Sie die erste Bewertung zu diesem Artikel

Helfen Sie anderen Kundinnen und Kunden durch Ihre Meinung.

Kundinnen und Kunden meinen

Bewertungen (0)

Weitere Artikel finden Sie in

Die Leseprobe wird geladen.
  • Produktbild: Programming DSLs in Kotlin