Existential Operator / Null Propagation Operator
brendan at mozilla.org
Mon Apr 6 23:37:27 UTC 2015
Implement it; user-test it; auto-check the grammar for ambiguity and
Christoph Pojer wrote:
> So I take it most would prefer this as a prefix operator. What would
> be the next steps involved to iterate on this idea?
> On Mon, Apr 6, 2015 at 3:35 PM, Brendan Eich<brendan at mozilla.org> wrote:
>> Yeah, and it would line up with cover grammar needed for
>> refutable-by-default patterns.
>> Matthew Robb wrote:
>>> On Mon, Apr 6, 2015 at 5:42 PM, Brendan Eich<brendan at mozilla.org
>>> <mailto:brendan at mozilla.org>> wrote:
>>> Did you keep backward compatibility? `x?.1:y` must continue to work.
>>> This is why I suggested a leading operator (`?a.?b()`) because it seems
>>> like it would have the least potential for conflict with existing valid
>>> - Matthew Robb
>> es-discuss mailing list
>> es-discuss at mozilla.org
More information about the es-discuss