[Bug 29263] if expression: optional else branch?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29263

--- Comment #5 from Jonathan Robie <jonathan.robie@gmail.com> ---
(In reply to Michael Kay from comment #4)
> I think this is too late in the day.

Quite likely, but I'd like to at least discuss it quickly before killing the
idea.

> I for one don't think that the change is necessarily simple, or necessarily
> desirable.
> 
> While it's true that other languages have resolved the dangling else
> ambiguity using an ad-hoc disambiguation rule, I don't think that
> necessarily makes it the right thing to do.

It does seem to work. And while it's not perfect, it seems more desirable than
requiring the else clause, which is rather a wart on the language.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 5 November 2015 15:43:21 UTC