This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wishes for XSL revisions ...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]