Re: [xsl] Wishes for XSL revisions ...

Subject: Re: [xsl] Wishes for XSL revisions ...
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Thu, 27 Dec 2001 15:59:28 +0200
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:

Current Thread