W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2013

Re: Figuring out easier readonly interfaces

From: James Graham <james@hoppipolla.co.uk>
Date: Thu, 17 Oct 2013 18:58:42 +0100
Message-ID: <52602552.1090009@hoppipolla.co.uk>
To: public-script-coord@w3.org
On 17/10/13 16:49, Mark S. Miller wrote:
> Yes. I don't like DOMRectView but I will not object to it.

Isn't this confusing with ArrayBufferView, which afaict is read/write?

I think DomRectReadOnly is a fine name. Anyone who expects "readonly" to 
mean "immutable" will already be confused by DOM, WebIDL, and numerous 
other libraries and frameworks that use "readonly" in some situation 
where the mutability depends on who is trying to make the change (e.g. 
[1], [2])

[1] 
https://developer.apple.com/library/mac/documentation/cocoa/reference/CocoaBindingsRef/Concepts/BindingTypes.html

[2] http://qt-project.org/doc/qt-4.8/qml-textinput.html#readOnly-prop
Received on Thursday, 17 October 2013 17:59:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:18 UTC