xsl-list
[Top] [All Lists]

RE: when to use 'as' attribute on a variable

2006-02-27 10:11:53
 

It may very well be that we are in a hurry, is it possible to 
summarise why 
datatyping a variable is so useful?

It helps the reader of the stylesheet to understand what the purpose of the
variable is, and it gives you earier and better diagnostics for many
programming mistakes.

Occasionally it also helps the compiler to generate better code.

Michael Kay
http://www.saxonica.com/ 



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>