ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: developing Tasks, createElement, addElement ?
Date Sat, 24 Feb 2001 02:20:37 GMT
At 09:02  23/2/01 -0500, Fernando Padilla wrote:
>Hi.  I've been burrowing around quite a few tasks and I have this
>Some use the createElementName() methods, while others use
>addElementName( Element ) methods.  And I am wondering what are the pros
>and cons. is where it is done. Which to use
is a matter of preference. Part of it is backwards compatability and
avoiding massive refactoring. createFoo() style basically is to make it
easier to auotmatically do things at sub-objects lifecycle start.



| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |

View raw message