Artículos relacionados a Building Domain Specific Languages in Kotlin: Kotlin...

Building Domain Specific Languages in Kotlin: Kotlin language features and software design patterns for creating DSLs and improving code - Tapa blanda

 
9781661636166: Building Domain Specific Languages in Kotlin: Kotlin language features and software design patterns for creating DSLs and improving code

Sinopsis

What amazing code can you write with Kotlin? You have features like function types, nullables, and extension functions that are useful, but how can you use features like these to write code that you never could have in other languages like Java? One answer is: embed a domain specific language in your code to make common code easier to use.If you are writing Kotlin code, inevitably you will encounter a Domain Specific Language (DSL). A DSL may be in your build tool, UI code, or somewhere else, but trust me it is there. Why do these DSLs exist? They allow you to create new simplified syntax for your APIs and libraries. With the ability to create this syntax you can go beyond object oriented design and create even more effective code that is easy to understand and has less errors. This book shows you the Kotlin features and design patterns you need to know to implement complex DSLs or make small improvements to anywhere in your code. Along the way you will gain a deeper understanding of some of Kotlin's language features such as lambdas and extension functions.You will learn techniques for building DSLsBuilding a DSL in Kotlin requires you to understand:DSL design: DSLs make assumptions to simplify syntax, such as assuming the code is part of a particular problem domain.Kotlin features: DSL implementations sometimes employ Kotlin features in ways that are unusual to achieve a desired syntax.Software design patterns: Software design patterns can help you create different syntax and also simplify DSLs.The Kotlin features and design patterns this book describes are:Kotlin features:Lambda with receiverInvoke operatorOperator overloadExtension functionsCustom property accessorsInfix notationDesign patterns:Function chainsNested buildersContext variablesSymbolsYou will be able to write new kinds of codeYou will see ample code examplesThis book contains two parts to help you learn the necessary DSL skills. First, it has ample code examples to demonstrate each concept. Second, it has step by step exercises you can use to help you to practice what you have learned.Are you excited?Grab this book and start maximizing your knowledge of Kotlin and building some great new DSL syntax.

"Sinopsis" puede pertenecer a otra edición de este libro.

Comprar usado

Condición: Bueno
Gut/Very good: Buch bzw. Schutzumschlag...
Ver este artículo

EUR 45,00 gastos de envío desde Alemania a Estados Unidos de America

Destinos, gastos y plazos de envío

Comprar nuevo

Ver este artículo

EUR 28,83 gastos de envío desde Reino Unido a Estados Unidos de America

Destinos, gastos y plazos de envío

Resultados de la búsqueda para Building Domain Specific Languages in Kotlin: Kotlin...

Imagen de archivo

Milette, Greg
Publicado por Independently published, 2019
ISBN 10: 1661636160 ISBN 13: 9781661636166
Nuevo Paperback

Librería: Revaluation Books, Exeter, Reino Unido

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Paperback. Condición: Brand New. 68 pages. 11.00x8.50x0.17 inches. In Stock. Nº de ref. del artículo: zk1661636160

Contactar al vendedor

Comprar nuevo

EUR 22,14
Convertir moneda
Gastos de envío: EUR 28,83
De Reino Unido a Estados Unidos de America
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito

Imagen de archivo

Milette, Greg
Publicado por Independently published, 2019
ISBN 10: 1661636160 ISBN 13: 9781661636166
Antiguo o usado Tapa blanda

Librería: medimops, Berlin, Alemania

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Condición: very good. Gut/Very good: Buch bzw. Schutzumschlag mit wenigen Gebrauchsspuren an Einband, Schutzumschlag oder Seiten. / Describes a book or dust jacket that does show some signs of wear on either the binding, dust jacket or pages. Nº de ref. del artículo: M01661636160-V

Contactar al vendedor

Comprar usado

EUR 9,55
Convertir moneda
Gastos de envío: EUR 45,00
De Alemania a Estados Unidos de America
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito