Silicon Valley Code Camp : October 9th and 10th, 2010

Ted Young

Spiral Learning, LLC
About Ted
Java Trainer and Coding Coach, specializing in Java, Spring, Object-Oriented Programming, and TDD. Create and deliver customized learning experiences for developers.
{speaker.firstName} {speaker.lastName}

Speaking Sessions

  • Fluent Interfaces: Domain-Specific Languages in Plain-Old Java

    5:00 PM Saturday   Room: 4220
    <p>A domain-specific language (DSL) is commonly described as a computer language targeted at a particular kind of problem and it is not planned to solve problems outside of its domain. DSLs have been formally studied for many years. Until recently, however, internal DSLs have been written into programs only as a happy accident by programmers simply trying to solve their problems in the most readable and concise way possible. Lately, with the advent of Ruby and other dynamic languages, there has been a growing interest in DSLs amongst programmers. These loosely structured languages offer an approach to DSLs which allow a minimum of grammar and therefore the most direct representation of a particular language. However, discarding the compiler and the ability to use the most powerful modern IDEs such as Eclipse is a definite disadvantage with this approach. </p> <br/> <p>The speakers have successfully compromised between the two approaches, and will argue that is quite possible and helpful to approach API design from the DSL orientation in a structured language such as Java. This session describes how it is possible to write domain-specific languages using the Java language and suggests some patterns for constructing them. </p>

    Speakers:    Ted Young  Alex Ruiz