ISSUE-124: Order of parameters (options or callback last) - by Boris Zbarsky
order-of-parameters
Order of parameters (options or callback last) - by Boris Zbarsky
- State:
- CLOSED
- Product:
- JSON-LD Last Call 1
- Raised by:
- Markus Lanthaler
- Opened on:
- 2013-04-16
- Description:
- Raised by Boris Zbarsky (http://lists.w3.org/Archives/Public/public-rdf-comments/2013Apr/0022.html):
In "web" specs and libraries it seems to be the common style to put
options objects as the last argument of a method.
I am given to understand that "Node" style is to put the callback, if
any, as the last argument, and that json-ld is following that style
here. But it's not obvious why that's preferable to following "web"
style for this particular specification.
-Boris
- Related Actions Items:
- No related actions
- Related emails:
- Official response to RDF-ISSUE-124 (order-of-parameters) by Boris Zbarsky (from msporny@digitalbazaar.com on 2013-05-08)
- Re: Official response to RDF-ISSUE-124 (order-of-parameters) by Boris Zbarsky (from bzbarsky@MIT.EDU on 2013-05-08)
- JSON-LD Telecon Minutes for 2013-04-23 (from msporny@digitalbazaar.com on 2013-04-25)
- JSON-LD Telecon Minutes for 2013-04-16 (from msporny@digitalbazaar.com on 2013-04-23)
- RDF-ISSUE-124 (order-of-parameters): Order of parameters (options or callback last) - by Boris Zbarsky [JSON-LD Last Call 1] (from sysbot+tracker@w3.org on 2013-04-16)
Related notes:
Official response:
http://lists.w3.org/Archives/Public/public-rdf-comments/2013May/0032.html
Commenter accepts the changes:
http://lists.w3.org/Archives/Public/public-rdf-comments/2013May/0033.html
Display change log