[webcomponents]: Changing names of custom element callbacks

Dear WebAppazoids,

I would like to acquaint you with proposals around bettering the names
of custom element callbacks. Please kindly comment on the proposals.

Note, this is not at all a bikeshedding exercise. It's a totally
scientific thing. I wired a hypothetical web developer Bialar (we call
him Bob) to mysterious machine, then spoke existing callbacks names
out loud and analyzed the results.

Rename readyCallback to createdCallback
(https://www.w3.org/Bugs/Public/show_bug.cgi?id=22564)
Bob was outraged. Ready for what? Battle with the Scarrans? The
"created" is much closer to what's actually happening, since the
callback is only invoked when a custom element is created.

Rename inserted/removedCallback to entered/leftDocumentCallback
(https://www.w3.org/Bugs/Public/show_bug.cgi?id=22565)
Once again, Bob threw a hissing fit, demanding precision and revenge.
To keep the peace, the names have been tweaked to be as descriptive as
possible. Sadly, they are now three words long.

P.S. Also, watch Dominic's excellent overview of custom element
callbacks in http://www.youtube.com/watch?v=yo2SA3D_KPA (warning, no
cats)

:DG<

Received on Friday, 12 July 2013 21:30:55 UTC