Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequences vs arrays #76

Closed
dbaron opened this issue Sep 28, 2017 · 3 comments
Closed

Sequences vs arrays #76

dbaron opened this issue Sep 28, 2017 · 3 comments

Comments

@dbaron
Copy link
Member

dbaron commented Sep 28, 2017

Copying this issue from https://github.com/w3ctag/api-design-guide/issues/1 raised by @marcoscaceres

It would be great if the document could provide guidance on when to use a sequence vs when to use an array in an API.

See:
sysapps/telephony#81

There's also a brief conversation there.

@domenic
Copy link
Member

domenic commented Sep 28, 2017

Sequence is just the Web IDL name for arrays. Maybe the action item here is to make that clearer in the Web IDL spec?

@travisleithead
Copy link
Contributor

Yes, this is correct. I'm wondering if this had to do with the (now defunct) Type[] in WebIDL. I don't think we need any particular guidance on sequences vs. array.

@travisleithead
Copy link
Contributor

We agreed to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants