[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Wishes for XSL revisions ...

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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.