Skip to Main Content
Modern Java in Action
book

Modern Java in Action

by Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft
October 2018
Intermediate to advanced content levelIntermediate to advanced
592 pages
19h 49m
English
Manning Publications
Content preview from Modern Java in Action

Chapter 10. Domain-specific languages using lambdas

This chapter covers

  • What domain-specific languages (DSLs) and their forms are
  • The pros and cons of adding a DSL to your API
  • The alternatives available on the JVM to a plain Java-based DSL
  • Learning from the DSLs present in modern Java interfaces and classes
  • Patterns and techniques to implement effective Java-based DSLs
  • How commonly used Java libraries and tools use these patterns

Developers often forget that a programming language is first of all a language. The main purpose of any language is to convey a message in the clearest, most understandable way. Perhaps the most important characteristic of well-written software is clear communication of its intentions—or, as famous computer scientist ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java 8 in Action

Java 8 in Action

Mario Fusco, Alan Mycroft, Raoul-Gabriel Urma
The Well-Grounded Java Developer, Second Edition

The Well-Grounded Java Developer, Second Edition

Benjamin Evans, Martijn Verburg, Jason Clark

Publisher Resources

ISBN: 9781617293566Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link