ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan Easton <e...@eeaston.com>
Subject Re: [Bug 28444] - Import: Target Handling Bug
Date Fri, 13 May 2005 13:18:23 GMT
Evan Easton wrote:

>
> ...
> Valid point.
>
> But isn't the depends list of an imported target something that you'd 
> really like to not muck with in the interests of encapsulation?  I 
> agree that it would be really nice to be able to insert into or at the 
> end of the overridden target's dependencies (a la aspect oriented 
> languages), but I think I could contrive cases where this 
> unintentionally breaks the functionality of the overridden target.
> I'm not saying it shouldn't be supported, but I think we are sill 
> grappling with a basic OO-link inheritance problem that we need to 
> address before diving into aspect oriented constructs which, while 
> very powerful, seem to create lots of issues unless you really know 
> what you're doing.

BTW,
While I don't think ant should become a polymorphic OO language, I do 
think that this override bug should be addressed by following 
conventions present in most OO languages. This is mostly because I'd 
like to not have to remember yet another oddball inheritance/override 
model and with a pure virtual, polymorphic model I'd know exactly what 
I'm doing.&nbsp; Of course, since I've been coding for 20 years, I'm not 
really sure that this make things easier on newbies.&nbsp; Plus there's 
the whole multiple inheritance debate to have all over again.
Evan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message