Re: How to specify an object that can be mutable or immutable

On Wed, Sep 25, 2013 at 10:58 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> They needed *some* common prefix to avoid clashing with userland code,
> and DOM seemed to be a decent one that covered roughly what all they'd
> be used for.

They do? We've been trying to stay clear of using DOM for anything new
and on top of that we haven't used prefixes new things generally, such
as Path or ImageData. The new JavaScript global-exposed objects
System, Symbol, etc. also will be introduced as such.

If they are more general than viewport rectangles (which suggests
ClientRect) and you cannot use Rect, RenderRect or LayoutRect or
whatever subsystem is responsible for them seems more suitable. "DOM"
is largely legacy and a hack.


-- 
http://annevankesteren.nl/

Received on Wednesday, 25 September 2013 15:17:39 UTC