> Mark's restricted production for CallExpression attacks the hazard even more 
> directly, but apart from our aversion to restricted productions, what might 
> it break?

I don't see offhand what it might break. This question seems easy to 
investigate empirically-- crawl the web looking for "violations" of the 
restriction.

Personally, I'm not enthusiastic about this line of pursuit. It smells of 
excessive fool-proofing. Ad-hoc restrictions seem both unlikely to provide 
clear guarantees and likely to have unintended consequences. Irregular syntax 
is bumpy terrain; obfuscation we will always have with us. In the absence of 
strong evidence of a need, I'd prefer to relegate such syntactic restrictions 
to third-party lint tools and let them experiment with them. Just my $.02.

Dave

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to