W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2015

[Bug 29263] if expression: optional else branch?

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 Nov 2015 15:43:19 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29263-523-aLMSgvU51v@http.www.w3.org/Bugs/Public/>

--- 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

> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:57 UTC