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

AW: Naming styles

Subject: AW: Naming styles
From: <christof.hoeke@xxxxxxx>
Date: Fri, 20 Aug 2004 18:00:55 +0200
variable naming styles
> As has been noted on this list before, I tend to call all variables x
> unless forced by circumstances to use some more radical names
> (such as y
> or z). Some computer scientists consider this bad style, but
> mathematicians have been doing it quite happily for a few
> hundred years
> without too many problems...
>

mathematics might be quite abstract. using names which make (any) code more
readable (like meaningful xml element names too) are IMHO a better option.
XSLT tends to be quite unreadable at times especially with complex xpath
expressions and so meaningful variable names is what I would prefer. only
exceptions would be like counter variables (which are not very common in xslt
of course).

chris

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.