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.4.0 : Friday, 17 January 2020 19:18:06 UTC