Explore the design and effectiveness of internal Domain-Specific Languages (DSLs) in Scala in this 45-minute conference talk from Devoxx. Learn why internal DSLs are important and discover how Scala's features, such as symbolic method names, infix method calls, and call by name, enable elegant DSL design. Dive into the testing domain with examples from ScalaTest and ScalaCheck frameworks, gaining insights on writing powerful and elegant tests for both Scala and Java programs. Understand the potential of DSLs in specific application domains and acquire knowledge to design your own DSL. The talk covers topics including domain-specific languages, implicit classes, priority implicit values, meta-programming, and advanced features, providing a comprehensive overview of internal DSL development in Scala.
Overview
Syllabus
Introduction
Domain
Domainspecific languages
Domain of Logistics
Implicit Class
Priority
Implicit values
Demo
Reference Framework
Advanced Feature
Meta Programming
Specs
Whats next
Taught by
Devoxx