On Sun, Feb 3, 2019 at 10:31 AM Steven D'Aprano firstname.lastname@example.org wrote:
The dot arguably fails the "syntax should not look like grit on Tim's monitor" test (although attribute access already fails that test). I think the double-dot syntax looks like a typo, which is unfortunate.
Agreed, so I would like to see a different spelling of it. Pike has an automap syntax that looks a lot like subscripting:
numbers[*] * 2
Borrowing that syntax would pass the grit test, and it currently isn't valid syntax.