SDM: An Approach to Internal Domain-Specific Languages in Java by Jeff Bay and Alex Ruiz
SDM: An Approach to Internal Domain-Specific Languages in Java by Jeff Bay and Alex Ruiz
No automatic checking of these - if you can't answer these, it's a sign you
need to check back in the paper.
Quick questions
- Check you understand the terminology used: external DSL, internal DSL,
API, fluent interface, method chaining
- Check you understand what the article says about the advantages of the
DSL version of preparing an SQL statement compared with the string version
- if you need to look up anything about SQL, do so
- What are the implications for (a) error handling (b) testing (c)
documentation of the different ways of defining a DSL in Java? Can an IDE
sensibly help?
- (Stretch, for if you are expert in Java - this course doesn't expect
more than basic competence.) This article is quite old, pre-dating Java 7
for example. What are, in fact, the implications of recent Java versions
for the definition of internal DSLs in Java?
- (Stretch, beyond what the article covers.) Thinking about external vs
internal DSLs: can you have external and internal graphical DSLs?