W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2014

Re: Why is RTCIceCandidate mutable

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Wed, 05 Nov 2014 09:36:09 -0500
Message-ID: <545A35D9.4010002@mozilla.com>
To: Martin Thomson <martin.thomson@gmail.com>
CC: public-webrtc@w3.org
On 11/4/14, 11:48 PM, Martin Thomson wrote:
>
> On Nov 4, 2014 6:55 PM, "Jan-Ivar Bruaroey" <jib@mozilla.com 
> <mailto:jib@mozilla.com>> wrote:
>
>> why not use required arguments? [1]
>
> I'm talking prose. Throw if required and not present. Not everything 
> has to be in the WebIDL.
>

Agreed, and I'm sad to report that I just got that a bonus of the 
init-dict pattern is that it essentially acts as a copy-constructor for 
free. So yeah, disturbing that would be bad.

> This isn't an event.

Whoops, you're right. Retract what I said (except the +1).

.: Jan-Ivar :.
Received on Wednesday, 5 November 2014 14:36:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:42 UTC