Another paren-free gotcha
brendan at mozilla.com
Wed Sep 28 17:52:17 PDT 2011
On Sep 28, 2011, at 4:02 PM, Peter van der Zee wrote:
> 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.
Not sure about. Waldemar's examples can bite plain old expression-statement refactoring too. Is this really a fatal flaw of paren-free, or more a problem with C-family expression-statement syntax?
If ASI is the culprit to focus on, I can work harder on ASI in relation to paren-free. I do not want to hack on paren-free by itself. It's quite simple and not in need of "patching".
More information about the es-discuss