Creating a DSL in Ruby is easy; the dynamic nature of the language allows us to do crazy things, like add methods to existing classes. In a statically-typed language like Java, this is very difficult, and DSLs in Java tend to be clunky and hard to use.
Scala gives us the best of both words, through its loose and concise syntax, as well as an amazing feature called implicits. We'll learn about what implicits are, and how we can use them to make clean, readable code. We'll then see how to use this feature to start making our own DSLs and "literals"
You won't need to know much, or any Scala, but by the end, you'll see just how easy it is to use this exciting new language!
Speaker: Dave Copeland is a veteran software developer with over 15 years of professional development experience, starting on UNIX and C, moving into Java, and now using Java, Ruby, and Scala on a daily basis for energy-efficiency startup OPOWER in Washington, DC. He lives in the command line and firmly believes in getting things done quickly, not making a mess, and leaving things better than how he found them.
Sign in to add slides, notes or videos to this session