On Thu, 2010-04-08 at 03:31 -0400, Paul Speed wrote:

> The first case is declarative in that you are declaring a task and how 
> it hooks up.  Gradle has full understanding of all relationships involved.
> 
> The second case (using <<) is executing opaque groovy code at execution 
> time that just happens to be delegating to ant.  It's only declarative 
> in that a block of script code is being declared... which, to me at 
> least pedantically, is imperative.
> 
> If there were some way to still do the ANT delegation without the << 
> then it would be declarative.

I think you are right in that we need to avoid needless hair-splitting,
and possibly I was being overly nit-picky.  My point is that the << and
non-<< forms are confusing to people -- but I think we are all agreed on
this -- and that the type: stuff isn't as well explained as it needs to
be.

I think the move to internal tasks that can be reasoned about rather
than delegating to Ant is a good thing.  SCons does it, Waf does it,
does Maven do it?

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to