Another paren-free gotcha

Peter van der Zee ecma at qfox.nl
Wed Sep 28 16:02:38 PDT 2011


On Thu, Sep 29, 2011 at 12:38 AM, Douglas Crockford
<douglas at crockford.com> wrote:
> On 11:59 AM, Waldemar Horwat wrote:
>>
>> Thinking about the implications of paren-free, I see additional potential
>> trouble spots in addition to the one I mentioned in the meeting yesterday:

These kind of potential confusions raise a red flag for me. Goes in
line with the ASI discussion, or the more current array hole
discussion. People are going to cause errors using this syntax,
especially when editing existing code. And when they do, they won't
have a clue why. At least not at first. I think Waldemar nailed that
with his demonstrations.

- peter


More information about the es-discuss mailing list