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:
  1. Official response to RDF-ISSUE-124 (order-of-parameters) by Boris Zbarsky (from msporny@digitalbazaar.com on 2013-05-08)
  2. Re: Official response to RDF-ISSUE-124 (order-of-parameters) by Boris Zbarsky (from bzbarsky@MIT.EDU on 2013-05-08)
  3. JSON-LD Telecon Minutes for 2013-04-23 (from msporny@digitalbazaar.com on 2013-04-25)
  4. JSON-LD Telecon Minutes for 2013-04-16 (from msporny@digitalbazaar.com on 2013-04-23)
  5. 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

Manu Sporny, 13 May 2013, 01:18:48

Display change log ATOM feed


Guus Schreiber <guus.schreiber@vu.nl>, Chair, Ivan Herman <ivan@w3.org>, Sandro Hawke <sandro@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 124.html,v 1.1 2014-07-09 12:17:56 carine Exp $