Re: [whatwg/dom] Ground primitives in agents (#717)

It's not duplicative; they're layered.

Being stable over time is not a desirable property. Your setup is also not stable over time, you just need to manually add and remove things to it to make it "unstable", instead of automatically getting the right thing.

Stated another way, the spec's current setup is

```js
function getURSOBC(bc) {
}
```

whereas you're wanting to move toward a world of

```js
const bcsToBCGroup = new Map();
// manually call bcsToBCGroup.set(), bcsToBCGroup.delete(), etc.

function getBCGroup(bc) {
  return bcsToBCGroup.get(bc);
}
```

I think the former is nicer and simpler.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/717#issuecomment-441687494

Received on Monday, 26 November 2018 15:49:29 UTC