Order of parameters (options or callback last) #240

Closed
lanthaler opened this Issue Apr 15, 2013 · 2 comments

Comments

Projects
None yet
1 participant
@lanthaler
Member

lanthaler commented Apr 15, 2013

_Raised by Boris Zbarsky:_

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

lanthaler added a commit that referenced this issue Apr 23, 2013

@lanthaler

This comment has been minimized.

Show comment
Hide comment
@lanthaler

lanthaler May 7, 2013

Member

RESOLVED: Address ISSUE-125 by adopting a Futures-based approach for the JSON-LD API.

Member

lanthaler commented May 7, 2013

RESOLVED: Address ISSUE-125 by adopting a Futures-based approach for the JSON-LD API.

@lanthaler

This comment has been minimized.

Show comment
Hide comment
@lanthaler

lanthaler May 8, 2013

Member

Closing this issue as it is being tracked in the RDF issue tracker: http://www.w3.org/2011/rdf-wg/track/issues/124

Member

lanthaler commented May 8, 2013

Closing this issue as it is being tracked in the RDF issue tracker: http://www.w3.org/2011/rdf-wg/track/issues/124

@lanthaler lanthaler closed this May 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment