W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2014

[Bug 21963] Implicit iteration on dynamic function calls

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 May 2014 09:36:51 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21963-523-K9XCbwlp3d@http.www.w3.org/Bugs/Public/>

--- Comment #6 from Ghislain Fourny <g@28.io> ---

I agree with Jonathan's assessment. I think that resilience in case of
heterogeneity in the input sequence is important (i.e., return an empty
sequence rather than raise an error), and follows the XPath paradigm as well. I
also think that consistency between function calls and the ? syntax would be

This is of course the view from a database/document-store perspective. I am
afraid that this is another example where the use case scenario affects the
design decision: if we reason data-oriented (NoSQL), then iterating makes sense
(even with functions in the data). If we reason pure map-oriented (i.e.,
equivalent of objects as Mike mentions), then raising an error makes sense.

I hope it helps.

Kind regards,

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 28 May 2014 09:36:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:56 UTC