This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Wishes for XSL revisions ...
- From: Oleg Tkachenko <olegt at multiconn dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 27 Dec 2001 15:59:28 +0200
- Subject: Re: [xsl] Wishes for XSL revisions ...
- Organization: Multiconn International
- References: <000101c18ed3$d890b390$2c87193e@ajw>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Andrew Welch wrote:
> 2. If a variable cannot be changed after it has been assigned, why call it
> a variable? Ive read the reasoning behind this, and yes strictly it is a
> variable, but a more appropriate name would make sense.
> The above makes XSLT non-intuitive, and therefore harder to learn.
Hey, you are dealing with almost pure functional programming language,
try to grasp main idiom "assignment is considered harmful". See
"Programming without Assignment Statements" chapter in Mike Kay's book.
Is there
> another language where you cannot change the value of a variable?
A lot.
--
Oleg Tkachenko
Multiconn International, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list