- From: Jan-Ivar Bruaroey <notifications@github.com>
- Date: Tue, 16 Oct 2018 21:19:45 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 October 2018 21:20:08 UTC
The reason I hesitate, is I don't consider a dictionary to be a first class API. Someone once told me, *"you don't *have* to use dictionaries. Use `object`. Problem solved."* Their point being (I think) was that WebIDL defines dictionaries to encourage certain API patterns and discourage others. Therefore, it's not always sufficient to have a problem. The question is: is it a good pattern? For example, is *share()* really several methods in one? Might a discrete *shareFile()* method have been cleaner? I'm not saying it is, just using it as an example. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/107#issuecomment-430404886
Received on Tuesday, 16 October 2018 21:20:08 UTC