- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 23 Sep 2013 20:16:14 -0400
- To: www-style@w3.org
On 9/23/13 7:14 PM, Tab Atkins Jr. wrote: > WebIDL makes it remarkably fiddly to create an interface that should > be readonly in some circumstances and mutable in others. That's because those are fundamentally two different "interfaces", when you actually think about them. I mean, say you were implementing this in pure ES. You'd just return two different types of objects for those two cases, probably with different prototypes... -Boris
Received on Tuesday, 24 September 2013 00:16:45 UTC