Re: [webcomponents] Replace attached/detached callbacks with insertedIntoDocument/removedFromDocument (#362)

> That doesn't tell us to what it's connected or from what it's disconnected.

The idea would be that we would define in the spec new terms "connected" and "disconnected" which inherently have to do with being in a document.

If you're saying it doesn't tell readers of the code that, I think that's kind of true, but that will be true of any short and easy to type name. With my developer hat on, I'd personally rather pay the cost once of looking up "connected" if I get confused, than the cost of typing "connectedIntoDocumentCallback" every time I do this.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/362#issuecomment-179550729

Received on Thursday, 4 February 2016 00:28:34 UTC