SPA 2008 - Writing Embedded Domain Specific Languages in Java
Robert Chatley and Mike Hill
Notes and outputs from our session at SPA 2008.
Some solutions to the auction exercise
Check the code under the acceptance tests directory for samples of the DSLs
Notes from the flipchart
We got the following feedback after people had tried the first round of working on the auction code
- Constructors vs Builders
- Lots of constructor params make things tricky to understand
- Bidders vary mostly in their strategy (rather than state)
- One starting point: look for commonalities
- One starting point: take an aesthetic approach
- Are there incompatible combinations of configuration options?