Re: [webcomponents]: Platonic form of custom elements declarative syntax

On Wednesday, April 10, 2013, John J Barton wrote:

>
>
>
> On Wed, Apr 10, 2013 at 6:51 PM, Dimitri Glazkov <dglazkov@google.com<javascript:_e({}, 'cvml', 'dglazkov@google.com');>
> > wrote:
>
>> On Wed, Apr 10, 2013 at 6:38 PM, Rick Waldron <waldron.rick@gmail.com<javascript:_e({}, 'cvml', 'waldron.rick@gmail.com');>>
>> wrote:
>> > Everyone's answer to this should be "no"; changing the expected value
>> of the
>> > top level "this", in some magical way, simply won't work.
>>
>> Can you explain why you feel this way?
>>
>
> 1) Because <script> has never done this before, so it better be compelling.
> 2) Because causing |this| to change by moving the <script> tag in the HTML
> or adding a layer of elements etc seems likely to cause hard to understand
> bugs.
> 3) Forcing the binding based on position is inflexible.
>
> To be sure this is implicit-declarative vs explicit-imperative bias, not
> evidence.
>
> Oh, sorry you were asking Rick.
>

Well, you covered what I would've said so thanks!

There are other aspects, but I'm not 100% on them and I'd like to check my
facts before  presenting them as evidence.

Rick



> jjb
>

Received on Thursday, 11 April 2013 03:19:13 UTC