Appendix D. A cheat sheet for Scala’s DSL-friendly features
This appendix will assist you as you become familiar with the DSL-friendly features of Scala. Please don’t treat this information as a comprehensive language overview. For a more complete and detailed discussion of the language and its syntax, see the references in section D.2.
D.1. DSL-friendly features of Scala
Scala is an object-functional language that runs on the JVM. It has great interoperability with Java by virtue of having the same object model (and more). Scala has a nice, concise syntax, offers type inference, and a whole bunch of mechanisms for designing abstractions based on a combination of OO and functional paradigms.
Table D.1. Scala feature overview
Class-based ... |
Get DSLs in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.