I think this is an excellent idea, especially with the introduction of expressions. Without expressions, i don't see nearly as much benefit.
I'm a little confused as to your use of scripting languages as a argument against type safety. Scripting language types are resolved at runtime. Depending on the scripting language, there are different extents of implicit conversion for certain types, but there are, non-the-less, different types.
----Original Message Follows----
From: "Gary Feldman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [Nant-users] Typed properties
Date: Tue, 20 Jul 2004 20:26:00 -0400
>From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
>Sent: Tuesday, July 20, 2004 6:45 AM
>I'd like to propose the introduction of typed properties to NAnt. Currently
>properties are stored as strings which has many drawbacks, esp. when
>used within expressions.
>For example:
><property name="a" value="false" />
><if test="${a=false}">
My take on this is that it's adding to an already complex mechanism. NAnt
is closer to a scripting activity than a large scale project activity, and
should
take its lead from scripting languages.
Besides, are there any better examples? One should never write
<if test="${a=false}" >, since <if test="${not a}>
is clearer (to the extent that any part of this syntax can be clear).
Gary
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users