Re: [w3c/webcomponents] Generic programs can't reliably use/manipulate documents via the DOM (#640)

yes It does, the same thing as in any generic desktop app development: the difference what is and what is not to be messed with, the argument is not about "I§m the king of the world and I know best", as it's not in other environments. Clear encapsulation is the point. Open shadow root does not provide that. I do not know your experience ouside web, but I can open Delphi (Object Pascal), Visual Studio (C#+.NET) and thou syntax is very different, in semantics it makes no difference, I can tell what is public, what is private, not because being the best, but to define interface. I cannot do that with open shadow DOM, which part is or is not to be messed with.
Who benefits from it? Every single programmer using 3rd party component. Who suffer? very few use cases.

The argument may not persuade you personally, but the fact that a lot of people discussing this agreed upon the fact that both are needed my mean something. I can see usecases for open and closed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/640#issuecomment-301320339

Received on Sunday, 14 May 2017 15:31:19 UTC