From: Martin A. <mar...@go...> - 2003-12-19 14:35:37
|
> Also - I think "if()" shouldn't be a function, but a language construct. > Without it we cannot support lazy evaluation which is important for > functions that have side effects or take a long time to execute. Oh - functions in NAnt should NEVER have side effect. If they have, you make them tasks. And we are again in task/function problem... > if (somefunction(), formatMyHardDisk(), formatMyHardDisk()) so formatMyHardDisk() will never exist (atleast in distribution package) :-) >I have one concern: should we keep some functions unprefixed: +1 for all functions be in namespace. maybe there could be few system functions or constructs without it, but user functions should always be in namespace & cathegory, imo. Regards, Martin |