[xquery-talk] best practice for function design with many optional params

James Fuller james.fuller.2007 at gmail.com
Thu Jan 26 15:06:15 PST 2012

> thanks for your input. right now, I'm mapping an existing api to
> xquery, therefore I'd like to stick to the original signatures if at
> all possible. Later on, convenience functions could be imagined, of

ah I see ... it could be that the API needed to be designed in the
manner it is for other reasons, unsure, in any event this is a good
example of why designing API's is so important.

> course.  I do use unit testing (xqut right now, although I'm tempted
> to give x-ray a try, both admittedly MarkLogic-specific).

I am using x-ray ... though both are excellent.


> cheers,
> Jakob.

More information about the talk mailing list