W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2015

Re: Attributes! (Re: Proposal: Add RtpSenderInit parameter to addTrack.)

From: Harald Alvestrand <harald@alvestrand.no>
Date: Sat, 02 May 2015 16:26:31 +0200
Message-ID: <5544DE97.9020600@alvestrand.no>
To: public-webrtc@w3.org
Den 01. mai 2015 18:11, skrev Jan-Ivar Bruaroey:
> Agree we need this stuff, and I love dictionaries, but IMHO this web API
> surface is turning into a mess.
> 
> The ideal surface for a parameter is: foo.bar
> 
> foo.setBar() / foo.getBar() is some kind of c++ sickness.
> 
> foo.setParameters({..., bar: }) / foo.getParameters().bar is a kick in
> the mouth to JavaScript.

Please ... let's try to keep some civility in the discussion.

People have strong opinions about programming languages.
But acting as if there is a higher truth that can be asserted without
allowing for a discussion that leads to a joint understanding of the
issues is not a Good Thing.

Harald
Received on Saturday, 2 May 2015 14:27:01 UTC

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