This is a great suggestion. Before I read the last paragraph I was
thinking to myself "what's are the trade-off that I'm not seeing
here?". How bad would the breaking changes be do you think?
On Feb 16, 2011, at 3:07 PM, Peter Niederwieser wrote:
This example tries to give an idea of how:
- a small and focused convention-based (bean-style) API could
"generate" a
rich DSL
- a method-based DSL is less noisy and feels more declarative than a
property-based DSL (no '=')
- a method-based DSL can leverage syntactic features such as varargs
and
named parameters
- a smart DSL could accept arguments not accepted by the underlying
API
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email