
Nov. 2, 2016
11:34 a.m.
On Wed, Nov 2, 2016 at 9:18 PM, Steven D'Aprano <steve@pearwood.info> wrote:
On Wed, Nov 02, 2016 at 02:09:24PM +1100, Chris Angelico wrote:
We already expect "to the left" and "to the right" to end based on operator precedence rules. Parentheses are used to control operator precedence. It would surprise people *greatly* if they didn't bound the effect of the question mark.
That's exactly my point. I was just responding to Random's suggestion that ?. could/should/might reach outside of the parens. I didn't pluck this idea out of thin air only to object to it.
I know. Sorry, I should have included some of Random's text in my quote. ChrisA