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

Re: What name would you give this function?

Subject: Re: What name would you give this function?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 09 Feb 2012 00:21:17 +0000
Re:  What name would you give this function?
On 09/02/2012 00:04, Costello, Roger L. wrote:
So, the definition of f is this sequence: items[1], f(items[position() gt 1] union g(items[1])

What name would you call this function? I want something more descriptive than " f "

If I created an object by nailing four pieces of wood together, I would name it according to the purpose of the artefact: why do I think four pieces of wood nailed together in this particular way would be useful to anyone? For example, I might call it a wine rack if it were well suited to that purpose.

You've described a function in terms of how you implemented it, but you haven't given us any clues as to what it might be good for, and that's what makes it hard to name.

Michael Kay
Saxonica

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.