On Fri, Oct 15, 2021 at 3:37 PM Ricky Teachey <ricky@teachey.org> wrote:
You say a soft keyword isn't an option and I understand why, but what about one that is incredibly unlikely to have been used very often? I'm thinking of just a simple double underscore:
a = __ a 'a'
This would be a breaking change, but surely __ is not in widespread use...? And I think it looks a bit of alright.
Point = NamedTuple(__, "x y")
--- Ricky.
"I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler
IIRC those implementing pattern matching want to use `__` as literally a non-binding name. They can't use `_` as is done in some other languages as that name is used with some regularity by python modules. Regards, ~ Jeremiah